favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

# Harmonic series

Given the value of n, find the sum of Harmonic series:

#### Input

One positive integer n (1n104).

#### Output

Print the sum of Harmonic series with 4 decimal digits.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3

Output example #1
1.8333

Author Michael Medvedev