Harmonic series#10303

Harmonic series

1 second
128 megabytes
Very easy

For a given value of , compute the sum of the harmonic series:

1 + {1 \over 2} + {1 \over 3} + {1 \over 4} + \cdots + {1 \over n}

Input

One positive integer n~(1 \le n \le 10^4).

Output

Print the sum of the harmonic series with decimal places.

Examples

Example 1

Loading
Loading