#include using namespace std; int main() { double k; cin >> k; if(k == 0) { cout << 1.6449340668482264 << endl; } double x = 1; for(double c = 2; c <= k; c += 1) { x += 1/c; } x /= k; cout << x << endl; }