#include <stdio.h>

int main(void)
{
  long x, b;
  int cnt = 0;

  scanf("%ld", &x);

  b = 100;
  
  do {
    b =  b + (b / 100);
    cnt++;
  } while (b < x);

  printf("%d", cnt);
  
  return 0;
}