import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long x= sc.nextLong();
        long sum = 100;
        int y = 0;

        while(true){
            if(sum>=x){
                break;
            }
            y++;
            sum = sum + (long)Math.floor(sum*0.01);       
        }

            System.out.println(y);
    }
} 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 sum = 100;
        int y = 0;

        while(true){
            if(sum>=x){
                break;
            }
            y++;
            sum = sum + (long)Math.floor(sum*0.01);       
        }

            System.out.println(y);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long x= sc.nextLong();
        long sum = 100;
        int y = 0;

        while(true){
            if(sum>=x){
                break;
            }
            y++;
            sum = sum + (long)Math.floor(sum*0.01);       
        }

            System.out.println(y);
    } main {
        Scanner sc = new Scanner(System.in);
        long x= sc.nextLong();
        long sum = 100;
        int y = 0;

        while(true){
            if(sum>=x){
                break;
            }
            y++;
            sum = sum + (long)Math.floor(sum*0.01);       
        }

            System.out.println(y);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long x= sc.nextLong(); x sc.nextLong() sc.nextLong sc long sum = 100; sum 100 int y = 0; y 0 while(true){
            if(sum>=x){
                break;
            }
            y++;
            sum = sum + (long)Math.floor(sum*0.01);       
        } true {
            if(sum>=x){
                break;
            }
            y++;
            sum = sum + (long)Math.floor(sum*0.01);       
        } if(sum>=x){
                break;
            } sum>=x sum x {
                break;
            } break; y++ y sum = sum + (long)Math.floor(sum*0.01) sum sum + (long)Math.floor(sum*0.01) sum (long)Math.floor(sum*0.01) Math.floor Math sum*0.01 sum 0.01 System.out.println(y) System.out.println System.out System System.out y String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long x= sc.nextLong();
        long sum = 100;
        int y = 0;

        while(true){
            if(sum>=x){
                break;
            }
            y++;
            sum = sum + (long)Math.floor(sum*0.01);       
        }

            System.out.println(y);
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long x= sc.nextLong();
        long sum = 100;
        int y = 0;

        while(true){
            if(sum>=x){
                break;
            }
            y++;
            sum = sum + (long)Math.floor(sum*0.01);       
        }

            System.out.println(y);
    }
} Main
import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long x= sc.nextLong();
        long sum = 100;
        int y = 0;

        while(true){
            if(sum>=x){
                break;
            }
            y++;
            sum = sum + (long)Math.floor(sum*0.01);       
        }

            System.out.println(y);
    }
}
