#include <stdio.h>
int main()
{
       int x, p = 100, count = 0;
       scanf("%d",&x);
       while(p<=x)
       {
           count = count +1;
           p = p + (p*0.01);
           
       }
       printf("%d",count);
       
       
}