#include <stdio.h>

int main(){
  int y=-1,flag=0;
  unsigned long long int x,s=100;
  scanf("%lu",&x);
  while(flag==0){
    if(s>=x){
      flag++;
    }
    y++;
    s+=s/100;
  }
  printf("%d\n",y);
  return 0;
}