#include<stdio.h>
int main()
{
    long x,yen=100,i;
    int u=0;
    scanf("%ld",&x);
    while(yen<x)
    {
        i=yen/100;
        yen+=i;
        u+=1;
    }
    printf("%d",u);
    return 0;
}
