#include<stdio.h>
int main()
{
  int x,a=0;
  long int save=100;
  scanf("%d",&x);
  while(1){
    save=save*0.01+save;
    a++;
    if(x<=save){
      printf("%d\n",a);
      break;
    }
  }
  return 0;
}