#include <stdio.h>

int main(void){
    long long x, m = 100;
    int n = 0;
    scanf ("%lld",&x);
    while (m < x){
        m = m + (m / 100);
        n++;
    }
    printf("%d\n",n);
    return 0;

}