#include <iostream>
using namespace std;
int main(){
long k,i;
cin >> k;
double s=0.0;
for (i=;s<=k;i++)
s=s+1.0/i;
cout << i-;
return ;
}
05-11 11:05