import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long start = 100;
		long goal = Long.parseLong(sc.next());
		int year = 0;
		while (true) {
			start *= 1.01;
			year++;
			if (start >= goal) {
				System.out.println(year);
				break;
			}

		}

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long start = 100;
		long goal = Long.parseLong(sc.next());
		int year = 0;
		while (true) {
			start *= 1.01;
			year++;
			if (start >= goal) {
				System.out.println(year);
				break;
			}

		}

	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long start = 100;
		long goal = Long.parseLong(sc.next());
		int year = 0;
		while (true) {
			start *= 1.01;
			year++;
			if (start >= goal) {
				System.out.println(year);
				break;
			}

		}

	} main {
		Scanner sc = new Scanner(System.in);
		long start = 100;
		long goal = Long.parseLong(sc.next());
		int year = 0;
		while (true) {
			start *= 1.01;
			year++;
			if (start >= goal) {
				System.out.println(year);
				break;
			}

		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long start = 100; start 100 long goal = Long.parseLong(sc.next()); goal Long.parseLong(sc.next()) Long.parseLong Long sc.next() sc.next sc int year = 0; year 0 while (true) {
			start *= 1.01;
			year++;
			if (start >= goal) {
				System.out.println(year);
				break;
			}

		} true {
			start *= 1.01;
			year++;
			if (start >= goal) {
				System.out.println(year);
				break;
			}

		} start *= 1.01 start 1.01 year++ year if (start >= goal) {
				System.out.println(year);
				break;
			} start >= goal start goal {
				System.out.println(year);
				break;
			} System.out.println(year) System.out.println System.out System System.out year break; String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long start = 100;
		long goal = Long.parseLong(sc.next());
		int year = 0;
		while (true) {
			start *= 1.01;
			year++;
			if (start >= goal) {
				System.out.println(year);
				break;
			}

		}

	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long start = 100;
		long goal = Long.parseLong(sc.next());
		int year = 0;
		while (true) {
			start *= 1.01;
			year++;
			if (start >= goal) {
				System.out.println(year);
				break;
			}

		}

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long start = 100;
		long goal = Long.parseLong(sc.next());
		int year = 0;
		while (true) {
			start *= 1.01;
			year++;
			if (start >= goal) {
				System.out.println(year);
				break;
			}

		}

	}

}
