import java.util.*;

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

        long x = sc.nextLong();
        long money = 100;
        int year = 0;
        sc.close();
        
        while(true){
            if(money >= x){
                System.out.println(year);
                break;
            }
            money*=1.01;
            year++;
        }
    }
} 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 money = 100;
        int year = 0;
        sc.close();
        
        while(true){
            if(money >= x){
                System.out.println(year);
                break;
            }
            money*=1.01;
            year++;
        }
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        long x = sc.nextLong();
        long money = 100;
        int year = 0;
        sc.close();
        
        while(true){
            if(money >= x){
                System.out.println(year);
                break;
            }
            money*=1.01;
            year++;
        }
    } main {
        Scanner sc = new Scanner(System.in);

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

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

        long x = sc.nextLong();
        long money = 100;
        int year = 0;
        sc.close();
        
        while(true){
            if(money >= x){
                System.out.println(year);
                break;
            }
            money*=1.01;
            year++;
        }
    }
} Main
import java.util.*;

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

        long x = sc.nextLong();
        long money = 100;
        int year = 0;
        sc.close();
        
        while(true){
            if(money >= x){
                System.out.println(year);
                break;
            }
            money*=1.01;
            year++;
        }
    }
}