import java.util.*;
import java.lang.*;

public class Main {
    public static void main(final String[] args) {
        final Scanner sc = new Scanner(System.in);
        //金額X
        final long X ;
        //　入れる値
        long tempX=100;

        X = sc.nextLong();

        int i = 0;
        int flag = 0;
        for (; flag == 0; i++) {
            tempX = (long) ( tempX* 1.01);	
            if(tempX>=X){
                flag=1;
            }
        }
		System.out.println(i);
}
} import java.util.*; util.* java import java.lang.*; lang.* java public class Main {
    public static void main(final String[] args) {
        final Scanner sc = new Scanner(System.in);
        //金額X
        final long X ;
        //　入れる値
        long tempX=100;

        X = sc.nextLong();

        int i = 0;
        int flag = 0;
        for (; flag == 0; i++) {
            tempX = (long) ( tempX* 1.01);	
            if(tempX>=X){
                flag=1;
            }
        }
		System.out.println(i);
}
} Main public static void main(final String[] args) {
        final Scanner sc = new Scanner(System.in);
        //金額X
        final long X ;
        //　入れる値
        long tempX=100;

        X = sc.nextLong();

        int i = 0;
        int flag = 0;
        for (; flag == 0; i++) {
            tempX = (long) ( tempX* 1.01);	
            if(tempX>=X){
                flag=1;
            }
        }
		System.out.println(i);
} main {
        final Scanner sc = new Scanner(System.in);
        //金額X
        final long X ;
        //　入れる値
        long tempX=100;

        X = sc.nextLong();

        int i = 0;
        int flag = 0;
        for (; flag == 0; i++) {
            tempX = (long) ( tempX* 1.01);	
            if(tempX>=X){
                flag=1;
            }
        }
		System.out.println(i);
} final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final long X ; X long tempX=100; tempX 100 X = sc.nextLong() X sc.nextLong() sc.nextLong sc int i = 0; i 0 int flag = 0; flag 0 for (; flag == 0; i++) {
            tempX = (long) ( tempX* 1.01);	
            if(tempX>=X){
                flag=1;
            }
        } ; flag == 0 flag 0 i++ i++ i {
            tempX = (long) ( tempX* 1.01);	
            if(tempX>=X){
                flag=1;
            }
        } {
            tempX = (long) ( tempX* 1.01);	
            if(tempX>=X){
                flag=1;
            }
        } tempX = (long) ( tempX* 1.01) tempX (long) ( tempX* 1.01) tempX 1.01 if(tempX>=X){
                flag=1;
            } tempX>=X tempX X {
                flag=1;
            } flag=1 flag 1 System.out.println(i) System.out.println System.out System System.out i final String[] args args public class Main {
    public static void main(final String[] args) {
        final Scanner sc = new Scanner(System.in);
        //金額X
        final long X ;
        //　入れる値
        long tempX=100;

        X = sc.nextLong();

        int i = 0;
        int flag = 0;
        for (; flag == 0; i++) {
            tempX = (long) ( tempX* 1.01);	
            if(tempX>=X){
                flag=1;
            }
        }
		System.out.println(i);
}
} public class Main {
    public static void main(final String[] args) {
        final Scanner sc = new Scanner(System.in);
        //金額X
        final long X ;
        //　入れる値
        long tempX=100;

        X = sc.nextLong();

        int i = 0;
        int flag = 0;
        for (; flag == 0; i++) {
            tempX = (long) ( tempX* 1.01);	
            if(tempX>=X){
                flag=1;
            }
        }
		System.out.println(i);
}
} Main
import java.util.*;
import java.lang.*;

public class Main {
    public static void main(final String[] args) {
        final Scanner sc = new Scanner(System.in);
        //金額X
        final long X ;
        //　入れる値
        long tempX=100;

        X = sc.nextLong();

        int i = 0;
        int flag = 0;
        for (; flag == 0; i++) {
            tempX = (long) ( tempX* 1.01);	
            if(tempX>=X){
                flag=1;
            }
        }
		System.out.println(i);
}
}