#include<stdio.h>

int main() {
	int  year = 0;
  long int bank = 100, x;
	float rate = 0.01;
	scanf("%ld", &x);
	while (bank < x) {
      bank += bank * rate;
      bank /= 1;
      year++;
	}
	printf("%d", year);
}
