import 'dart:io';
 
void main(List<String> args){
  int X = int.parse)stdin.readLineSync());
  int money = 100;
  int count = 1;
  while(1){
  	money = money + money~/100;
    if(money >= X) break;
    count = count + 1;
  }
  print(count);
}