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

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long P = 100;
        int cnt = 0;
        while(P < X){
            P += P/100;
            cnt++;
        }
        System.out.println(cnt);
    }
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long P = 100;
        int cnt = 0;
        while(P < X){
            P += P/100;
            cnt++;
        }
        System.out.println(cnt);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long P = 100;
        int cnt = 0;
        while(P < X){
            P += P/100;
            cnt++;
        }
        System.out.println(cnt);
    } main {
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long P = 100;
        int cnt = 0;
        while(P < X){
            P += P/100;
            cnt++;
        }
        System.out.println(cnt);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long X = sc.nextLong(); X sc.nextLong() sc.nextLong sc long P = 100; P 100 int cnt = 0; cnt 0 while(P < X){
            P += P/100;
            cnt++;
        } P < X P X {
            P += P/100;
            cnt++;
        } P += P/100 P P/100 P 100 cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long P = 100;
        int cnt = 0;
        while(P < X){
            P += P/100;
            cnt++;
        }
        System.out.println(cnt);
    }
} public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long P = 100;
        int cnt = 0;
        while(P < X){
            P += P/100;
            cnt++;
        }
        System.out.println(cnt);
    }
} Main
import java.io.*;
import java.util.*;

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