#include<stdio.h>
int main()
{
int k;
scanf("%d",&k);
double s=0;
double n=1;
while(s<=k)
{
s+=1/n;
n++;
}
printf("%d",(int)n-1);
return 0;
}
11-13
1058
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-31
149
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)