#include <stdio.h>

int main(void){
    long money = 0;
    long result = 100;
    long count_year = 0;

    scanf("%ld" , &money);

    while(result < money){
        result += result * 0.01;
        count_year++;
    }

    printf("%ld" , count_year);

    return 0;
}