#include <stdio.h>

int main(){
	long long X, money = 100, count = 0;

	scanf("%ld", &X);

	while(1){
		money = money + (money / 100);
		count++;
		if(money >= X) break;
	}

	printf("%ld", count);
	return 0;
}
