import java.util.Scanner;

public class Main {

    public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long C = 100;
        int ans =0;
        while(C<X){
            C = cal(C);
            ans++;
        }
        System.out.println(ans);

    }
    private static long cal(long x){

        long amp = x + (x/100);
        return amp;
    }
} 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 C = 100;
        int ans =0;
        while(C<X){
            C = cal(C);
            ans++;
        }
        System.out.println(ans);

    }
    private static long cal(long x){

        long amp = x + (x/100);
        return amp;
    }
} Main public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long C = 100;
        int ans =0;
        while(C<X){
            C = cal(C);
            ans++;
        }
        System.out.println(ans);

    } main {


        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long C = 100;
        int ans =0;
        while(C<X){
            C = cal(C);
            ans++;
        }
        System.out.println(ans);

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long X = sc.nextLong(); X sc.nextLong() sc.nextLong sc long C = 100; C 100 int ans =0; ans 0 while(C<X){
            C = cal(C);
            ans++;
        } C<X C X {
            C = cal(C);
            ans++;
        } C = cal(C) C cal(C) cal C ans++ ans System.out.println(ans) System.out.println System.out System System.out ans String[] args args private static long cal(long x){

        long amp = x + (x/100);
        return amp;
    } cal {

        long amp = x + (x/100);
        return amp;
    } long amp = x + (x/100); amp x + (x/100) x (x/100) x 100 return amp; amp long x x public class Main {

    public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long C = 100;
        int ans =0;
        while(C<X){
            C = cal(C);
            ans++;
        }
        System.out.println(ans);

    }
    private static long cal(long x){

        long amp = x + (x/100);
        return amp;
    }
} public class Main {

    public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long C = 100;
        int ans =0;
        while(C<X){
            C = cal(C);
            ans++;
        }
        System.out.println(ans);

    }
    private static long cal(long x){

        long amp = x + (x/100);
        return amp;
    }
} 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 C = 100;
        int ans =0;
        while(C<X){
            C = cal(C);
            ans++;
        }
        System.out.println(ans);

    }
    private static long cal(long x){

        long amp = x + (x/100);
        return amp;
    }
}
