import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long origin = 100;
        long x = scanner.nextLong();

        long year = 0;

        while (origin < x) {
            origin = origin + (origin / 100);
            year++;
        }

        System.out.println(year);
    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long origin = 100;
        long x = scanner.nextLong();

        long year = 0;

        while (origin < x) {
            origin = origin + (origin / 100);
            year++;
        }

        System.out.println(year);
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long origin = 100;
        long x = scanner.nextLong();

        long year = 0;

        while (origin < x) {
            origin = origin + (origin / 100);
            year++;
        }

        System.out.println(year);
    } main {
        Scanner scanner = new Scanner(System.in);

        long origin = 100;
        long x = scanner.nextLong();

        long year = 0;

        while (origin < x) {
            origin = origin + (origin / 100);
            year++;
        }

        System.out.println(year);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) long origin = 100; origin 100 long x = scanner.nextLong(); x scanner.nextLong() scanner.nextLong scanner long year = 0; year 0 while (origin < x) {
            origin = origin + (origin / 100);
            year++;
        } origin < x origin x {
            origin = origin + (origin / 100);
            year++;
        } origin = origin + (origin / 100) origin origin + (origin / 100) origin (origin / 100) origin 100 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 scanner = new Scanner(System.in);

        long origin = 100;
        long x = scanner.nextLong();

        long year = 0;

        while (origin < x) {
            origin = origin + (origin / 100);
            year++;
        }

        System.out.println(year);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long origin = 100;
        long x = scanner.nextLong();

        long year = 0;

        while (origin < x) {
            origin = origin + (origin / 100);
            year++;
        }

        System.out.println(year);
    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long origin = 100;
        long x = scanner.nextLong();

        long year = 0;

        while (origin < x) {
            origin = origin + (origin / 100);
            year++;
        }

        System.out.println(year);
    }
}