#include<stdio.h>

int main(void)
{
  signed long long int k;
  scanf("%lld",&k);
  signed long long int result;
  int ct=0;
  result=100;
  while(result<k)
  {
    result=result+(result/100);
      ct++;
  }
  printf("%d",ct);
}