k = int(input()) l = 1 / k x = 0 for i in range(1,k+1): x = x + 1/i print(l*x)