import java.util.Scanner;
public class Main {

    public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
      
      //入力
      long X = sc.nextLong();//目標額
      long money = 100;
      long year =0; 
      
      //預金額が目標額以上になるまで
      while(money<X){
       money *= 1.01;
       year =year+1;
      }
      System.out.println(year);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
      
      //入力
      long X = sc.nextLong();//目標額
      long money = 100;
      long year =0; 
      
      //預金額が目標額以上になるまで
      while(money<X){
       money *= 1.01;
       year =year+1;
      }
      System.out.println(year);
    }
} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
      
      //入力
      long X = sc.nextLong();//目標額
      long money = 100;
      long year =0; 
      
      //預金額が目標額以上になるまで
      while(money<X){
       money *= 1.01;
       year =year+1;
      }
      System.out.println(year);
    } main {

		Scanner sc = new Scanner(System.in);
      
      //入力
      long X = sc.nextLong();//目標額
      long money = 100;
      long year =0; 
      
      //預金額が目標額以上になるまで
      while(money<X){
       money *= 1.01;
       year =year+1;
      }
      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 money = 100; money 100 long year =0; year 0 while(money<X){
       money *= 1.01;
       year =year+1;
      } money<X money X {
       money *= 1.01;
       year =year+1;
      } money *= 1.01 money 1.01 year =year+1 year year+1 year 1 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 money = 100;
      long year =0; 
      
      //預金額が目標額以上になるまで
      while(money<X){
       money *= 1.01;
       year =year+1;
      }
      System.out.println(year);
    }
} public class Main {

    public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
      
      //入力
      long X = sc.nextLong();//目標額
      long money = 100;
      long year =0; 
      
      //預金額が目標額以上になるまで
      while(money<X){
       money *= 1.01;
       year =year+1;
      }
      System.out.println(year);
    }
} Main
import java.util.Scanner;
public class Main {

    public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
      
      //入力
      long X = sc.nextLong();//目標額
      long money = 100;
      long year =0; 
      
      //預金額が目標額以上になるまで
      while(money<X){
       money *= 1.01;
       year =year+1;
      }
      System.out.println(year);
    }
}