import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    double targetPrice = scanner.nextDouble();
    
    int year = 0;
    double result = 100.0;
    
    while(result < targetPrice){
      result = result + Math.floor(result * 0.01);
      year++;
    }
    
    System.out.println(year);
    
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    double targetPrice = scanner.nextDouble();
    
    int year = 0;
    double result = 100.0;
    
    while(result < targetPrice){
      result = result + Math.floor(result * 0.01);
      year++;
    }
    
    System.out.println(year);
    
  }
} Main public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    double targetPrice = scanner.nextDouble();
    
    int year = 0;
    double result = 100.0;
    
    while(result < targetPrice){
      result = result + Math.floor(result * 0.01);
      year++;
    }
    
    System.out.println(year);
    
  } main {
    Scanner scanner = new Scanner(System.in);
    double targetPrice = scanner.nextDouble();
    
    int year = 0;
    double result = 100.0;
    
    while(result < targetPrice){
      result = result + Math.floor(result * 0.01);
      year++;
    }
    
    System.out.println(year);
    
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) double targetPrice = scanner.nextDouble(); targetPrice scanner.nextDouble() scanner.nextDouble scanner int year = 0; year 0 double result = 100.0; result 100.0 while(result < targetPrice){
      result = result + Math.floor(result * 0.01);
      year++;
    } result < targetPrice result targetPrice {
      result = result + Math.floor(result * 0.01);
      year++;
    } result = result + Math.floor(result * 0.01) result result + Math.floor(result * 0.01) result Math.floor(result * 0.01) Math.floor Math result * 0.01 result 0.01 year++ year System.out.println(year) System.out.println System.out System System.out year String[] args args public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    double targetPrice = scanner.nextDouble();
    
    int year = 0;
    double result = 100.0;
    
    while(result < targetPrice){
      result = result + Math.floor(result * 0.01);
      year++;
    }
    
    System.out.println(year);
    
  }
} public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    double targetPrice = scanner.nextDouble();
    
    int year = 0;
    double result = 100.0;
    
    while(result < targetPrice){
      result = result + Math.floor(result * 0.01);
      year++;
    }
    
    System.out.println(year);
    
  }
} Main
import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    double targetPrice = scanner.nextDouble();
    
    int year = 0;
    double result = 100.0;
    
    while(result < targetPrice){
      result = result + Math.floor(result * 0.01);
      year++;
    }
    
    System.out.println(year);
    
  }
}