function Main(input) {
    x = input.split("\n");
    x = parseInt(x[0], 10);
    money = 100;
    interest = 1.01;
    years = 0;

    while (money < x) {     
        money = money * interest;
        money = Math.floor(money);
        years += 1;
    }
    console.log(years);    

}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
