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