/*
If you want to aim high, aim high
Don't let that studying and grades consume you
Just live life young
******************************
If I'm the sun, you're the moon
Because when I go up, you go down
*******************************
I'm working for the day I will surpass you
https://www.a2oj.com/Ladder16.html
*/
import java.util.*;
import java.io.*;
import java.math.*;

   public class Main
   {
      public static void main(String omkar[]) throws Exception
      {
         BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));  
         long N = Long.parseLong(infile.readLine());
         long bruh = 100;
         int res = 0;
         while(bruh < N)
         {
            bruh += bruh/100;
            res++;
         }
         System.out.println(res);
      }
   } import java.util.*; util.* java import java.io.*; io.* java import java.math.*; math.* java public class Main
   {
      public static void main(String omkar[]) throws Exception
      {
         BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));  
         long N = Long.parseLong(infile.readLine());
         long bruh = 100;
         int res = 0;
         while(bruh < N)
         {
            bruh += bruh/100;
            res++;
         }
         System.out.println(res);
      }
   } Main public static void main(String omkar[]) throws Exception
      {
         BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));  
         long N = Long.parseLong(infile.readLine());
         long bruh = 100;
         int res = 0;
         while(bruh < N)
         {
            bruh += bruh/100;
            res++;
         }
         System.out.println(res);
      } main {
         BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));  
         long N = Long.parseLong(infile.readLine());
         long bruh = 100;
         int res = 0;
         while(bruh < N)
         {
            bruh += bruh/100;
            res++;
         }
         System.out.println(res);
      } BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); infile new BufferedReader(new InputStreamReader(System.in)) long N = Long.parseLong(infile.readLine()); N Long.parseLong(infile.readLine()) Long.parseLong Long infile.readLine() infile.readLine infile long bruh = 100; bruh 100 int res = 0; res 0 while(bruh < N)
         {
            bruh += bruh/100;
            res++;
         } bruh < N bruh N {
            bruh += bruh/100;
            res++;
         } bruh += bruh/100 bruh bruh/100 bruh 100 res++ res System.out.println(res) System.out.println System.out System System.out res String omkar[] omkar public class Main
   {
      public static void main(String omkar[]) throws Exception
      {
         BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));  
         long N = Long.parseLong(infile.readLine());
         long bruh = 100;
         int res = 0;
         while(bruh < N)
         {
            bruh += bruh/100;
            res++;
         }
         System.out.println(res);
      }
   } public class Main
   {
      public static void main(String omkar[]) throws Exception
      {
         BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));  
         long N = Long.parseLong(infile.readLine());
         long bruh = 100;
         int res = 0;
         while(bruh < N)
         {
            bruh += bruh/100;
            res++;
         }
         System.out.println(res);
      }
   } Main
/*
If you want to aim high, aim high
Don't let that studying and grades consume you
Just live life young
******************************
If I'm the sun, you're the moon
Because when I go up, you go down
*******************************
I'm working for the day I will surpass you
https://www.a2oj.com/Ladder16.html
*/
import java.util.*;
import java.io.*;
import java.math.*;

   public class Main
   {
      public static void main(String omkar[]) throws Exception
      {
         BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));  
         long N = Long.parseLong(infile.readLine());
         long bruh = 100;
         int res = 0;
         while(bruh < N)
         {
            bruh += bruh/100;
            res++;
         }
         System.out.println(res);
      }
   }