#include<stdio.h>
int main(){
  long int X,money;
  int year;
  scanf("%ld",&X);
  money=100;
  year=0;
  while(money<X){
    money=money*1.01;
    long int(money);
    year++;
  }
  printf("%d\n",year);
  return 0;
}