#include <stdio.h>
int main(){
  int a;
  scanf("%d", &a);

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