const input = require('fs').readFileSync('/dev/stdin', 'utf8');
const X = +input;

// console.log(X);

let year = 0;
let sum = 100;
while (sum < X) {
    sum *= 1.01;
    Math.round(sum);
    year++;
}

console.log(year);
