#include <stdio.h>
int main(){
  long long x;
  scanf("%lld", &x);
  long long year = 0, amount = 100;
  
  while (amount < x) {
    amount += amount / 100;
    year += 1;
  }
  printf("%lld", year);
  return 0;
}