For a given value of n, compute the sum of the harmonic series:
One positive integer n (1≤n≤104).
Print the sum of the harmonic series with 4 decimal places.