x=int(input()) ANS=0 for i in range(1,10**8): ANS+=1/(x+i)**2 print(ANS)