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

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