import 'dart:io';

void main() {
    int x = int.parse(stdin.readLineSync());
    double chokin = 100;
    int year = 0;
    while(chokin < x) {
    	chokin += chokin ~/ 100;
    	year += 1;
    }
  print(year);
}