from mpmath import zeta print(zeta(int(input())))