#include<iostream> using namespace std; int main() { int k,n; double sum; n = 1; sum = 0; cin >> k; while (k > sum) { sum = sum +double( 1 / n); n++; } cout << n; return 0; }