For a given value of n, compute the sum of the harmonic series:
One positive integer n~(1 \le n \le 10^4).
Print the sum of the harmonic series with 4 decimal places.
Example 1