import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        int year = 0;
        long money = 100;
        while (money<x){
            year++;
            money +=money/100;
        }
        System.out.println(year);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        int year = 0;
        long money = 100;
        while (money<x){
            year++;
            money +=money/100;
        }
        System.out.println(year);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        int year = 0;
        long money = 100;
        while (money<x){
            year++;
            money +=money/100;
        }
        System.out.println(year);
    } main {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        int year = 0;
        long money = 100;
        while (money<x){
            year++;
            money +=money/100;
        }
        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 int year = 0; year 0 long money = 100; money 100 while (money<x){
            year++;
            money +=money/100;
        } money<x money x {
            year++;
            money +=money/100;
        } year++ year money +=money/100 money money/100 money 100 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();
        int year = 0;
        long money = 100;
        while (money<x){
            year++;
            money +=money/100;
        }
        System.out.println(year);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        int year = 0;
        long money = 100;
        while (money<x){
            year++;
            money +=money/100;
        }
        System.out.println(year);
    }
} Main
import java.util.Scanner;

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