#include <stdio.h>

int main() {
  long long X;
  scanf("%lld", &X);

  long long year = 0;
  long long amount = 100;

  while (amount < X) {
    amount = amount + amount / 100;
    year = year + 1;
  }

  printf("%lld\n", year);

  return 0;
}