#include <stdio.h>
int main(){
    int yo, ri, c;
    double X;
    
    yo = 100;
    c = 0;
    scanf("%lf", &X);

    while( yo < X ){
        c++;
        ri = yo/100;
        yo += ri;
    }
    printf("%d", c);
    return 0;
}