import java.util.*;
import java.math.*;
     
class Main{
    public static void main(String[] args) {
        
        try(Scanner sc = new Scanner(System.in)){

            long x = sc.nextLong();
            double yokin = 100;

            int ans = 0;
            while((double)x > yokin){
                yokin *= 1.01;
                yokin = Math.floor(yokin);
                ans++;
            }

            System.out.println(ans);

        }catch(Exception e){
            e.printStackTrace();
        }        
    }
} import java.util.*; util.* java import java.math.*; math.* java class Main{
    public static void main(String[] args) {
        
        try(Scanner sc = new Scanner(System.in)){

            long x = sc.nextLong();
            double yokin = 100;

            int ans = 0;
            while((double)x > yokin){
                yokin *= 1.01;
                yokin = Math.floor(yokin);
                ans++;
            }

            System.out.println(ans);

        }catch(Exception e){
            e.printStackTrace();
        }        
    }
} Main public static void main(String[] args) {
        
        try(Scanner sc = new Scanner(System.in)){

            long x = sc.nextLong();
            double yokin = 100;

            int ans = 0;
            while((double)x > yokin){
                yokin *= 1.01;
                yokin = Math.floor(yokin);
                ans++;
            }

            System.out.println(ans);

        }catch(Exception e){
            e.printStackTrace();
        }        
    } main {
        
        try(Scanner sc = new Scanner(System.in)){

            long x = sc.nextLong();
            double yokin = 100;

            int ans = 0;
            while((double)x > yokin){
                yokin *= 1.01;
                yokin = Math.floor(yokin);
                ans++;
            }

            System.out.println(ans);

        }catch(Exception e){
            e.printStackTrace();
        }        
    } try(Scanner sc = new Scanner(System.in)){

            long x = sc.nextLong();
            double yokin = 100;

            int ans = 0;
            while((double)x > yokin){
                yokin *= 1.01;
                yokin = Math.floor(yokin);
                ans++;
            }

            System.out.println(ans);

        }catch(Exception e){
            e.printStackTrace();
        } catch(Exception e){
            e.printStackTrace();
        } Exception e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {

            long x = sc.nextLong();
            double yokin = 100;

            int ans = 0;
            while((double)x > yokin){
                yokin *= 1.01;
                yokin = Math.floor(yokin);
                ans++;
            }

            System.out.println(ans);

        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc double yokin = 100; yokin 100 int ans = 0; ans 0 while((double)x > yokin){
                yokin *= 1.01;
                yokin = Math.floor(yokin);
                ans++;
            } (double)x > yokin (double)x yokin {
                yokin *= 1.01;
                yokin = Math.floor(yokin);
                ans++;
            } yokin *= 1.01 yokin 1.01 yokin = Math.floor(yokin) yokin Math.floor(yokin) Math.floor Math yokin ans++ ans System.out.println(ans) System.out.println System.out System System.out ans String[] args args
import java.util.*;
import java.math.*;
     
class Main{
    public static void main(String[] args) {
        
        try(Scanner sc = new Scanner(System.in)){

            long x = sc.nextLong();
            double yokin = 100;

            int ans = 0;
            while((double)x > yokin){
                yokin *= 1.01;
                yokin = Math.floor(yokin);
                ans++;
            }

            System.out.println(ans);

        }catch(Exception e){
            e.printStackTrace();
        }        
    }
}