import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		long x = kb.nextLong();
		long y = 100;
		int count = 0;
		while (true) {
			y = (long) (1.01 * y);
			count += 1;
			if (y >= x) {
				System.out.println(count);
				break;
			}

		}
		kb.close();
	}

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

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		long x = kb.nextLong();
		long y = 100;
		int count = 0;
		while (true) {
			y = (long) (1.01 * y);
			count += 1;
			if (y >= x) {
				System.out.println(count);
				break;
			}

		}
		kb.close();
	}

} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		long x = kb.nextLong();
		long y = 100;
		int count = 0;
		while (true) {
			y = (long) (1.01 * y);
			count += 1;
			if (y >= x) {
				System.out.println(count);
				break;
			}

		}
		kb.close();
	} main {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		long x = kb.nextLong();
		long y = 100;
		int count = 0;
		while (true) {
			y = (long) (1.01 * y);
			count += 1;
			if (y >= x) {
				System.out.println(count);
				break;
			}

		}
		kb.close();
	} Scanner kb = new Scanner(System.in); kb new Scanner(System.in) long x = kb.nextLong(); x kb.nextLong() kb.nextLong kb long y = 100; y 100 int count = 0; count 0 while (true) {
			y = (long) (1.01 * y);
			count += 1;
			if (y >= x) {
				System.out.println(count);
				break;
			}

		} true {
			y = (long) (1.01 * y);
			count += 1;
			if (y >= x) {
				System.out.println(count);
				break;
			}

		} y = (long) (1.01 * y) y (long) (1.01 * y) 1.01 y count += 1 count 1 if (y >= x) {
				System.out.println(count);
				break;
			} y >= x y x {
				System.out.println(count);
				break;
			} System.out.println(count) System.out.println System.out System System.out count break; kb.close() kb.close kb String[] args args public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		long x = kb.nextLong();
		long y = 100;
		int count = 0;
		while (true) {
			y = (long) (1.01 * y);
			count += 1;
			if (y >= x) {
				System.out.println(count);
				break;
			}

		}
		kb.close();
	}

} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		long x = kb.nextLong();
		long y = 100;
		int count = 0;
		while (true) {
			y = (long) (1.01 * y);
			count += 1;
			if (y >= x) {
				System.out.println(count);
				break;
			}

		}
		kb.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		long x = kb.nextLong();
		long y = 100;
		int count = 0;
		while (true) {
			y = (long) (1.01 * y);
			count += 1;
			if (y >= x) {
				System.out.println(count);
				break;
			}

		}
		kb.close();
	}

}
