#include <stdio.h>
#include <stdlib.h>
int main()
{
int n;
double first, needs, target, M;
scanf("%lf", &target);
first = 2.0;
n = 1;
needs = first;
M = first;
while (1) //死循环
{
if (needs > target) //判断是否符合条件
{
printf("%d\n", n);
break;
}
M = M * 0.98; //每一步为上一步的98%,M(=2.0)的累积
needs += M; //总共游的距离needs(=2.0)的累加
n++;
}
return 0;
}