#include <stdio.h>

typedef long long ll;

int main(void)
{
	ll x, price = 100, ans = 0;

	scanf("%lld", &x);

	while (price < x)
	{
		++ans;
		price = price + price / 100;
	}

	printf("%lld", ans);
	return 0;
}