function main(input) {
  let x = parseInt(input[0]);
  let money = 100;

  let i;
  for(i=0;money<x;i++){
    money = Math.floor(money + money/100);
  }
  console.log(i);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8').trim().split("\n"));