#include <stdio.h>

int main(void)
{
    long amount, x;
    long i;

    amount = 100;
    scanf("%ld", &x);
    for(i = 0; amount < x; ++i) {
        amount += amount / 100;
    }
    printf("%ld\n", i);
}