#include<stdio.h>
#include<stdlib.h>

int main(void)
{
  long long int x,ans=0,n=100;
  scanf("%lld",&x);
  while(n<x)
    {
      n = n + n/100;
      ans++;
    }
  printf("%lld\n",ans);
  return 0;
}
