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