N = int(input()) S = 0.0 for i in range(N): S += 1.0 / (i + 1) print(S / N)