import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        long x = sc.nextLong();

        long value = 100;
        long elapsedYear = 0L;

        while(value < x){  
            value = value + value / 100;
            elapsedYear++;
        }
        System.out.println(elapsedYear);
    }
} 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 value = 100;
        long elapsedYear = 0L;

        while(value < x){  
            value = value + value / 100;
            elapsedYear++;
        }
        System.out.println(elapsedYear);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        long x = sc.nextLong();

        long value = 100;
        long elapsedYear = 0L;

        while(value < x){  
            value = value + value / 100;
            elapsedYear++;
        }
        System.out.println(elapsedYear);
    } main {
        Scanner sc = new Scanner(System.in);

        long x = sc.nextLong();

        long value = 100;
        long elapsedYear = 0L;

        while(value < x){  
            value = value + value / 100;
            elapsedYear++;
        }
        System.out.println(elapsedYear);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long value = 100; value 100 long elapsedYear = 0L; elapsedYear 0L while(value < x){  
            value = value + value / 100;
            elapsedYear++;
        } value < x value x {  
            value = value + value / 100;
            elapsedYear++;
        } value = value + value / 100 value value + value / 100 value value / 100 value 100 elapsedYear++ elapsedYear System.out.println(elapsedYear) System.out.println System.out System System.out elapsedYear String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        long x = sc.nextLong();

        long value = 100;
        long elapsedYear = 0L;

        while(value < x){  
            value = value + value / 100;
            elapsedYear++;
        }
        System.out.println(elapsedYear);
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        long x = sc.nextLong();

        long value = 100;
        long elapsedYear = 0L;

        while(value < x){  
            value = value + value / 100;
            elapsedYear++;
        }
        System.out.println(elapsedYear);
    }
} 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 value = 100;
        long elapsedYear = 0L;

        while(value < x){  
            value = value + value / 100;
            elapsedYear++;
        }
        System.out.println(elapsedYear);
    }
}