#include #include #include using namespace std; int main() { int n; cin >> n; double ans = 0; for (int i = 1; i < 100; i++) ans += pow(i, -n); cout << setprecision(16) << ans << endl; }