#include <stdio.h>

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

    scanf("%d" , &money);

    while(result < money){
        result += result / 100;
        count_year++;
    }

    printf("%d" , count_year);

    return 0;
}