#include<stdio.h>
#include<stdlib.h>

int main(void)
{
    long long year=0,acc=100,x;

    scanf("%lld",&x);

    while(acc<x)
    {
        acc=(acc*101)/100;
        year++;
    }

    printf("%lld",year);

    return 0;
}