int main(){

  int a;
  scanf("%d", &a);

  int bank = 100;
  int year = 0;
  while(true){
      year++;
      bank = bank + int(bank/100)
      if(bank==a){
          break;
      }
  }
  printf("%d", year);
}