import java.util.*;

public class Main {
  
  public static void main(String args[]){
    
    Scanner sc = new Scanner(System.in);
    
    long x = sc.nextLong();
    long year = 0;
    
    double kingaku = 100;
    
    do{
      
      kingaku = kingaku * 1.01;
      kingaku = Math.floor(kingaku);
      year++;
    }while(kingaku < x);
    
    System.out.println(year);
    
  }
  
} import java.util.*; util.* java public class Main {
  
  public static void main(String args[]){
    
    Scanner sc = new Scanner(System.in);
    
    long x = sc.nextLong();
    long year = 0;
    
    double kingaku = 100;
    
    do{
      
      kingaku = kingaku * 1.01;
      kingaku = Math.floor(kingaku);
      year++;
    }while(kingaku < x);
    
    System.out.println(year);
    
  }
  
} Main public static void main(String args[]){
    
    Scanner sc = new Scanner(System.in);
    
    long x = sc.nextLong();
    long year = 0;
    
    double kingaku = 100;
    
    do{
      
      kingaku = kingaku * 1.01;
      kingaku = Math.floor(kingaku);
      year++;
    }while(kingaku < x);
    
    System.out.println(year);
    
  } main {
    
    Scanner sc = new Scanner(System.in);
    
    long x = sc.nextLong();
    long year = 0;
    
    double kingaku = 100;
    
    do{
      
      kingaku = kingaku * 1.01;
      kingaku = Math.floor(kingaku);
      year++;
    }while(kingaku < x);
    
    System.out.println(year);
    
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long year = 0; year 0 double kingaku = 100; kingaku 100 do{
      
      kingaku = kingaku * 1.01;
      kingaku = Math.floor(kingaku);
      year++;
    }while(kingaku < x); kingaku < x kingaku x {
      
      kingaku = kingaku * 1.01;
      kingaku = Math.floor(kingaku);
      year++;
    } kingaku = kingaku * 1.01 kingaku kingaku * 1.01 kingaku 1.01 kingaku = Math.floor(kingaku) kingaku Math.floor(kingaku) Math.floor Math kingaku 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 sc = new Scanner(System.in);
    
    long x = sc.nextLong();
    long year = 0;
    
    double kingaku = 100;
    
    do{
      
      kingaku = kingaku * 1.01;
      kingaku = Math.floor(kingaku);
      year++;
    }while(kingaku < x);
    
    System.out.println(year);
    
  }
  
} public class Main {
  
  public static void main(String args[]){
    
    Scanner sc = new Scanner(System.in);
    
    long x = sc.nextLong();
    long year = 0;
    
    double kingaku = 100;
    
    do{
      
      kingaku = kingaku * 1.01;
      kingaku = Math.floor(kingaku);
      year++;
    }while(kingaku < x);
    
    System.out.println(year);
    
  }
  
} Main
import java.util.*;

public class Main {
  
  public static void main(String args[]){
    
    Scanner sc = new Scanner(System.in);
    
    long x = sc.nextLong();
    long year = 0;
    
    double kingaku = 100;
    
    do{
      
      kingaku = kingaku * 1.01;
      kingaku = Math.floor(kingaku);
      year++;
    }while(kingaku < x);
    
    System.out.println(year);
    
  }
  
}