#include<stdio.h>

int main(void) {
	unsigned long long int x, yen = 100, ans;

	scanf("%lld", &x);

	for (ans=0;yen<x;ans++) {
		yen += (long long int)(yen/100);
	}

	printf("%d", ans);

	return 0;
}
