import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        double azuke = 100;
        int year = 0;
        if(x == 100){
            System.out.println(1);
            System.exit(0);
        }
        do{
            azuke = azuke + 0.01*azuke;
            azuke = Math.floor(azuke);
            year = year+1;
        } while(azuke < x);
        System.out.println(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();
        double azuke = 100;
        int year = 0;
        if(x == 100){
            System.out.println(1);
            System.exit(0);
        }
        do{
            azuke = azuke + 0.01*azuke;
            azuke = Math.floor(azuke);
            year = year+1;
        } while(azuke < x);
        System.out.println(year);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        double azuke = 100;
        int year = 0;
        if(x == 100){
            System.out.println(1);
            System.exit(0);
        }
        do{
            azuke = azuke + 0.01*azuke;
            azuke = Math.floor(azuke);
            year = year+1;
        } while(azuke < x);
        System.out.println(year);
    } main {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        double azuke = 100;
        int year = 0;
        if(x == 100){
            System.out.println(1);
            System.exit(0);
        }
        do{
            azuke = azuke + 0.01*azuke;
            azuke = Math.floor(azuke);
            year = year+1;
        } while(azuke < x);
        System.out.println(year);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc double azuke = 100; azuke 100 int year = 0; year 0 if(x == 100){
            System.out.println(1);
            System.exit(0);
        } x == 100 x 100 {
            System.out.println(1);
            System.exit(0);
        } System.out.println(1) System.out.println System.out System System.out 1 System.exit(0) System.exit System 0 do{
            azuke = azuke + 0.01*azuke;
            azuke = Math.floor(azuke);
            year = year+1;
        } while(azuke < x); azuke < x azuke x {
            azuke = azuke + 0.01*azuke;
            azuke = Math.floor(azuke);
            year = year+1;
        } azuke = azuke + 0.01*azuke azuke azuke + 0.01*azuke azuke 0.01*azuke 0.01 azuke azuke = Math.floor(azuke) azuke Math.floor(azuke) Math.floor Math azuke year = year+1 year year+1 year 1 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 sc = new Scanner(System.in);
        long x = sc.nextLong();
        double azuke = 100;
        int year = 0;
        if(x == 100){
            System.out.println(1);
            System.exit(0);
        }
        do{
            azuke = azuke + 0.01*azuke;
            azuke = Math.floor(azuke);
            year = year+1;
        } while(azuke < x);
        System.out.println(year);
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        double azuke = 100;
        int year = 0;
        if(x == 100){
            System.out.println(1);
            System.exit(0);
        }
        do{
            azuke = azuke + 0.01*azuke;
            azuke = Math.floor(azuke);
            year = year+1;
        } while(azuke < x);
        System.out.println(year);
    }
} Main
import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        double azuke = 100;
        int year = 0;
        if(x == 100){
            System.out.println(1);
            System.exit(0);
        }
        do{
            azuke = azuke + 0.01*azuke;
            azuke = Math.floor(azuke);
            year = year+1;
        } while(azuke < x);
        System.out.println(year);
    }
}