x = float(input()) res = 0 for n in range(100000, 0, -1): res += 1 / ((x+n)**2) print(res)