import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            long X = sc.nextLong();
            long x = 100;
            for (int i = 0;; i++) {
                if (x >= X) {
                    System.out.println(i);
                    return;
                }

                x += x / 100;
            }
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            long X = sc.nextLong();
            long x = 100;
            for (int i = 0;; i++) {
                if (x >= X) {
                    System.out.println(i);
                    return;
                }

                x += x / 100;
            }
        }
    }
} Main public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            long X = sc.nextLong();
            long x = 100;
            for (int i = 0;; i++) {
                if (x >= X) {
                    System.out.println(i);
                    return;
                }

                x += x / 100;
            }
        }
    } main {
        try (Scanner sc = new Scanner(System.in)) {
            long X = sc.nextLong();
            long x = 100;
            for (int i = 0;; i++) {
                if (x >= X) {
                    System.out.println(i);
                    return;
                }

                x += x / 100;
            }
        }
    } try (Scanner sc = new Scanner(System.in)) {
            long X = sc.nextLong();
            long x = 100;
            for (int i = 0;; i++) {
                if (x >= X) {
                    System.out.println(i);
                    return;
                }

                x += x / 100;
            }
        } {
            long X = sc.nextLong();
            long x = 100;
            for (int i = 0;; i++) {
                if (x >= X) {
                    System.out.println(i);
                    return;
                }

                x += x / 100;
            }
        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) long X = sc.nextLong(); X sc.nextLong() sc.nextLong sc long x = 100; x 100 for (int i = 0;; i++) {
                if (x >= X) {
                    System.out.println(i);
                    return;
                }

                x += x / 100;
            } int i = 0; int i = 0; i 0 i++ i++ i {
                if (x >= X) {
                    System.out.println(i);
                    return;
                }

                x += x / 100;
            } {
                if (x >= X) {
                    System.out.println(i);
                    return;
                }

                x += x / 100;
            } if (x >= X) {
                    System.out.println(i);
                    return;
                } x >= X x X {
                    System.out.println(i);
                    return;
                } System.out.println(i) System.out.println System.out System System.out i return; x += x / 100 x x / 100 x 100 String[] args args public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            long X = sc.nextLong();
            long x = 100;
            for (int i = 0;; i++) {
                if (x >= X) {
                    System.out.println(i);
                    return;
                }

                x += x / 100;
            }
        }
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            long X = sc.nextLong();
            long x = 100;
            for (int i = 0;; i++) {
                if (x >= X) {
                    System.out.println(i);
                    return;
                }

                x += x / 100;
            }
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            long X = sc.nextLong();
            long x = 100;
            for (int i = 0;; i++) {
                if (x >= X) {
                    System.out.println(i);
                    return;
                }

                x += x / 100;
            }
        }
    }
}
