import java.util.Scanner;

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

		// 入力値の取得
		long X = sc.nextLong();

		// 結果の出力
		int count = 0;
		double deposit = 100;
		while (X > deposit) {
			count++;
			deposit = Math.floor(deposit * 1.01);
		}
		System.out.println(count);

		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		// 入力値の取得
		long X = sc.nextLong();

		// 結果の出力
		int count = 0;
		double deposit = 100;
		while (X > deposit) {
			count++;
			deposit = Math.floor(deposit * 1.01);
		}
		System.out.println(count);

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

		// 入力値の取得
		long X = sc.nextLong();

		// 結果の出力
		int count = 0;
		double deposit = 100;
		while (X > deposit) {
			count++;
			deposit = Math.floor(deposit * 1.01);
		}
		System.out.println(count);

		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);

		// 入力値の取得
		long X = sc.nextLong();

		// 結果の出力
		int count = 0;
		double deposit = 100;
		while (X > deposit) {
			count++;
			deposit = Math.floor(deposit * 1.01);
		}
		System.out.println(count);

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long X = sc.nextLong(); X sc.nextLong() sc.nextLong sc int count = 0; count 0 double deposit = 100; deposit 100 while (X > deposit) {
			count++;
			deposit = Math.floor(deposit * 1.01);
		} X > deposit X deposit {
			count++;
			deposit = Math.floor(deposit * 1.01);
		} count++ count deposit = Math.floor(deposit * 1.01) deposit Math.floor(deposit * 1.01) Math.floor Math deposit * 1.01 deposit 1.01 System.out.println(count) System.out.println System.out System System.out count sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		// 入力値の取得
		long X = sc.nextLong();

		// 結果の出力
		int count = 0;
		double deposit = 100;
		while (X > deposit) {
			count++;
			deposit = Math.floor(deposit * 1.01);
		}
		System.out.println(count);

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

		// 入力値の取得
		long X = sc.nextLong();

		// 結果の出力
		int count = 0;
		double deposit = 100;
		while (X > deposit) {
			count++;
			deposit = Math.floor(deposit * 1.01);
		}
		System.out.println(count);

		sc.close();
	}
} Main
import java.util.Scanner;

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

		// 入力値の取得
		long X = sc.nextLong();

		// 結果の出力
		int count = 0;
		double deposit = 100;
		while (X > deposit) {
			count++;
			deposit = Math.floor(deposit * 1.01);
		}
		System.out.println(count);

		sc.close();
	}
}
