x = float(input()) ans = 0 for i in range(1, 100000000): ans += 1 / (x + i) ** 2 print(ans)