#include #include #include #include #include #include #include #include #include using namespace std; int main() { int k; cin >> k; double sum1 = 0; for (int i = 1; i < 1e8; i++){ sum1 += (1./i/(i+k)); } cout << fixed << setprecision(8); cout << sum1 << endl; }