function Main(input) {
    // 1行目がinput[0], 2行目がinput[1], …に入る
    var X = input.trim();
    var money = 100;
    var risi = 0;
    var count = 0;
    for (let i = 0; i < X; i++) {
        money = Math.floor(money * 1.01);
        if (money >= X) {
            console.log(i+1);
            i = X;
        }
    }
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));