#include <stdio.h>

int main(void)
{
    long int x=0,fundage=100,year=0;
    scanf("%ld",&x);

    while(fundage<x){
        year+=1;
        fundage+=fundage/100;
    }

    printf("%ld",year);
    return 0;
}
