from scipy.special import zeta N=int(input()) print(zeta(N))