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

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

        long X = scan.nextLong();
        int year= 0;
        long money=100;
        while(money<X){
            money= (long) (money*1.01);
            year++;
        }
        System.out.println(year);
    }
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);

        long X = scan.nextLong();
        int year= 0;
        long money=100;
        while(money<X){
            money= (long) (money*1.01);
            year++;
        }
        System.out.println(year);
    } main {
		Scanner scan = new Scanner(System.in);

        long X = scan.nextLong();
        int year= 0;
        long money=100;
        while(money<X){
            money= (long) (money*1.01);
            year++;
        }
        System.out.println(year);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) long X = scan.nextLong(); X scan.nextLong() scan.nextLong scan int year= 0; year 0 long money=100; money 100 while(money<X){
            money= (long) (money*1.01);
            year++;
        } money<X money X {
            money= (long) (money*1.01);
            year++;
        } money= (long) (money*1.01) money (long) (money*1.01) money 1.01 year++ year System.out.println(year) System.out.println System.out System System.out year String[] args args public class Main {
    public static void main(String[] args){
		Scanner scan = new Scanner(System.in);

        long X = scan.nextLong();
        int year= 0;
        long money=100;
        while(money<X){
            money= (long) (money*1.01);
            year++;
        }
        System.out.println(year);
    }
} public class Main {
    public static void main(String[] args){
		Scanner scan = new Scanner(System.in);

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

        long X = scan.nextLong();
        int year= 0;
        long money=100;
        while(money<X){
            money= (long) (money*1.01);
            year++;
        }
        System.out.println(year);
    }
}

