#include main(){double x;std::cin>>x;printf("%.7lf\n",std::riemann_zeta(x));}