function Main(input){
    let money = 100;
    const targetMoney =  input;

    for (let i = 0; i < targetMoney; i++) {
        if (money >= targetMoney) {
            console.log(i);
            i = targetMoney;
        }
        money = Math.floor(money * 1.01);
    }
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));