#include #include using namespace std; typedef long long int ll; constexpr ll mod=1e9+7; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int n; cin >> n; printf("%.9f\n",(double)riemann_zeta(n)); }