#include<stdio.h>
int main(){
  unsigned long long X, i, ci, count=0;
  unsigned  long long balance=100;
  scanf("%llu",&X);
  while(X > balance){
    ci = (0.01)*(balance);
    balance += ci;
    count += 1;
  }
  printf("%llu",count);
  return 0;
}