import java.util.*;
import java.io.*;

class Main{
    public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          double X = Double.parseDouble(br.readLine());
          double tmp = 100.0;
          int count = 0;

          do{
            tmp = tmp * 1.01;
            tmp = Math.floor(tmp);
            count++;
          }while(X > tmp);
          
          System.out.println(count);

        }
    }
} import java.util.*; util.* java import java.io.*; io.* java class Main{
    public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          double X = Double.parseDouble(br.readLine());
          double tmp = 100.0;
          int count = 0;

          do{
            tmp = tmp * 1.01;
            tmp = Math.floor(tmp);
            count++;
          }while(X > tmp);
          
          System.out.println(count);

        }
    }
} Main public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          double X = Double.parseDouble(br.readLine());
          double tmp = 100.0;
          int count = 0;

          do{
            tmp = tmp * 1.01;
            tmp = Math.floor(tmp);
            count++;
          }while(X > tmp);
          
          System.out.println(count);

        }
    } main {
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          double X = Double.parseDouble(br.readLine());
          double tmp = 100.0;
          int count = 0;

          do{
            tmp = tmp * 1.01;
            tmp = Math.floor(tmp);
            count++;
          }while(X > tmp);
          
          System.out.println(count);

        }
    } try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          double X = Double.parseDouble(br.readLine());
          double tmp = 100.0;
          int count = 0;

          do{
            tmp = tmp * 1.01;
            tmp = Math.floor(tmp);
            count++;
          }while(X > tmp);
          
          System.out.println(count);

        } {
          double X = Double.parseDouble(br.readLine());
          double tmp = 100.0;
          int count = 0;

          do{
            tmp = tmp * 1.01;
            tmp = Math.floor(tmp);
            count++;
          }while(X > tmp);
          
          System.out.println(count);

        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) new BufferedReader(new InputStreamReader(System.in)) double X = Double.parseDouble(br.readLine()); X Double.parseDouble(br.readLine()) Double.parseDouble Double br.readLine() br.readLine br double tmp = 100.0; tmp 100.0 int count = 0; count 0 do{
            tmp = tmp * 1.01;
            tmp = Math.floor(tmp);
            count++;
          }while(X > tmp); X > tmp X tmp {
            tmp = tmp * 1.01;
            tmp = Math.floor(tmp);
            count++;
          } tmp = tmp * 1.01 tmp tmp * 1.01 tmp 1.01 tmp = Math.floor(tmp) tmp Math.floor(tmp) Math.floor Math tmp count++ count System.out.println(count) System.out.println System.out System System.out count String args[] args
import java.util.*;
import java.io.*;

class Main{
    public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          double X = Double.parseDouble(br.readLine());
          double tmp = 100.0;
          int count = 0;

          do{
            tmp = tmp * 1.01;
            tmp = Math.floor(tmp);
            count++;
          }while(X > tmp);
          
          System.out.println(count);

        }
    }
}