#yuki1408 import mpmath n=int(input()) res=mpmath.zeta(n + 2) print(res)