import scipy.special;print(scipy.special.zeta(int(input())))