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