k = int(input()) ans = 0 err = 5e-7 kn =1 n = 1 while kn > err: kn = 1/(n*(n+k)) ans += kn n += 1 print(ans)