import java.util.*;

public class Main{
    public static void main(String[]args){
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        boolean flag = true;
        int count =0;
        double deposit = 100.0;
        while(flag){
            deposit = Math.floor(deposit*1.01);
            count++;
            if(deposit>=X){
                System.out.println(count);
                break;
            }
        }
    }
} import java.util.*; util.* java public class Main{
    public static void main(String[]args){
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        boolean flag = true;
        int count =0;
        double deposit = 100.0;
        while(flag){
            deposit = Math.floor(deposit*1.01);
            count++;
            if(deposit>=X){
                System.out.println(count);
                break;
            }
        }
    }
} Main public static void main(String[]args){
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        boolean flag = true;
        int count =0;
        double deposit = 100.0;
        while(flag){
            deposit = Math.floor(deposit*1.01);
            count++;
            if(deposit>=X){
                System.out.println(count);
                break;
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        boolean flag = true;
        int count =0;
        double deposit = 100.0;
        while(flag){
            deposit = Math.floor(deposit*1.01);
            count++;
            if(deposit>=X){
                System.out.println(count);
                break;
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long X = sc.nextLong(); X sc.nextLong() sc.nextLong sc boolean flag = true; flag true int count =0; count 0 double deposit = 100.0; deposit 100.0 while(flag){
            deposit = Math.floor(deposit*1.01);
            count++;
            if(deposit>=X){
                System.out.println(count);
                break;
            }
        } flag {
            deposit = Math.floor(deposit*1.01);
            count++;
            if(deposit>=X){
                System.out.println(count);
                break;
            }
        } deposit = Math.floor(deposit*1.01) deposit Math.floor(deposit*1.01) Math.floor Math deposit*1.01 deposit 1.01 count++ count if(deposit>=X){
                System.out.println(count);
                break;
            } deposit>=X deposit X {
                System.out.println(count);
                break;
            } System.out.println(count) System.out.println System.out System System.out count break; String[]args args public class Main{
    public static void main(String[]args){
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        boolean flag = true;
        int count =0;
        double deposit = 100.0;
        while(flag){
            deposit = Math.floor(deposit*1.01);
            count++;
            if(deposit>=X){
                System.out.println(count);
                break;
            }
        }
    }
} public class Main{
    public static void main(String[]args){
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        boolean flag = true;
        int count =0;
        double deposit = 100.0;
        while(flag){
            deposit = Math.floor(deposit*1.01);
            count++;
            if(deposit>=X){
                System.out.println(count);
                break;
            }
        }
    }
} Main
import java.util.*;

public class Main{
    public static void main(String[]args){
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        boolean flag = true;
        int count =0;
        double deposit = 100.0;
        while(flag){
            deposit = Math.floor(deposit*1.01);
            count++;
            if(deposit>=X){
                System.out.println(count);
                break;
            }
        }
    }
}