#include <stdio.h>


int main(){
  long long int X;
  scanf("%lld", &X);
  long long num =100, count = 0;
  while(num < X){
    num += num /100;
    count++;
  }
    printf( "%lld", count);
  return 0;
}