#include <stdio.h>

int main(void){
	long long x,money=100,year=0;
	printf("");
	scanf("%lld",&x);
	while(1){
		money=money*1.01;
		year++;
		if(x<=money){
			break;
		}
	}
	printf("%lld",year);
	return 0;
}
