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