#include<bits/stdc++.h> using namespace std; int main(){ ` int k,n=0; double s; cin>>k; do{ s+=1.0/n; n++; }while(s>k); ` ` cout<<n; ` return 0; }