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