
import java.util.Scanner;

public class Main {

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

		Long X = Long.parseLong(scanner.next());
		Double num = 100.0;
		int year= 0;
		do {
			year++;
			num = Math.floor(num * 1.01);
		} while (num < X);
		System.out.println(year);
	}

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

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

		Long X = Long.parseLong(scanner.next());
		Double num = 100.0;
		int year= 0;
		do {
			year++;
			num = Math.floor(num * 1.01);
		} while (num < X);
		System.out.println(year);
	}

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

		Long X = Long.parseLong(scanner.next());
		Double num = 100.0;
		int year= 0;
		do {
			year++;
			num = Math.floor(num * 1.01);
		} while (num < X);
		System.out.println(year);
	} main {
		Scanner scanner = new Scanner(System.in);

		Long X = Long.parseLong(scanner.next());
		Double num = 100.0;
		int year= 0;
		do {
			year++;
			num = Math.floor(num * 1.01);
		} while (num < X);
		System.out.println(year);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) Long X = Long.parseLong(scanner.next()); X Long.parseLong(scanner.next()) Long.parseLong Long scanner.next() scanner.next scanner Double num = 100.0; num 100.0 int year= 0; year 0 do {
			year++;
			num = Math.floor(num * 1.01);
		} while (num < X); num < X num X {
			year++;
			num = Math.floor(num * 1.01);
		} year++ year num = Math.floor(num * 1.01) num Math.floor(num * 1.01) Math.floor Math num * 1.01 num 1.01 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 X = Long.parseLong(scanner.next());
		Double num = 100.0;
		int year= 0;
		do {
			year++;
			num = Math.floor(num * 1.01);
		} while (num < X);
		System.out.println(year);
	}

} public class Main {

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

		Long X = Long.parseLong(scanner.next());
		Double num = 100.0;
		int year= 0;
		do {
			year++;
			num = Math.floor(num * 1.01);
		} while (num < X);
		System.out.println(year);
	}

} Main

import java.util.Scanner;

public class Main {

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

		Long X = Long.parseLong(scanner.next());
		Double num = 100.0;
		int year= 0;
		do {
			year++;
			num = Math.floor(num * 1.01);
		} while (num < X);
		System.out.println(year);
	}

}
