#include<stdio.h>
int main()
{
    long long int x;
    scanf("%lld",&x);
    int year=0;
    long long int p=100;
    while(p<x)
    {
        p += p/100;
        year++;
    }
    printf("%d",year);
}