k=int(input()) s=0 for i in range(1,10**8): s+=1/(i*(i+k)) print(s)