#include <stdio.h>
int main(void)
{
  long long int x;
  int money = 100;
  int spend = 0;
  scanf("%lld", &x);
  
  while (x > money) {
    money *= 1.01;
    spend++;
  }
  printf("%d", spend);
  return 0;
}