from scipy.special import zeta n = int(input()) ans = zeta(n + 2) print(ans)