import sympy print('{:.10}'.format(sympy.zeta(int(input())).evalf()))