#include <stdio.h>
#include <math.h>

int main(){
    unsigned long int x, deposit = 100;
    int year = 0;
    scanf("%lu", &x);
    while (deposit < x) {
        deposit += deposit / 100; 
        year++;
    }
    printf("%d", year);
    return 0;
}
