#include <stdio.h>

int main (void) {
    long X, sum = 100;
    int year = 0;

    scanf("%ld", &X);

    while (X > sum) {
        sum = (long)(sum * 1.01); 
        year++;
    }

    printf ("%d", year);

    return 0;
}