import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long X = sc.nextLong();
		int ans = 0;
		double money = 100;
		double risi = 0;

		while (money < X) {
			risi = money*0.01;
			risi = Math.floor(risi);
			money = money + risi;
			ans++;
			risi = 0;
		}

		System.out.println(ans);
	}
} 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 ans = 0;
		double money = 100;
		double risi = 0;

		while (money < X) {
			risi = money*0.01;
			risi = Math.floor(risi);
			money = money + risi;
			ans++;
			risi = 0;
		}

		System.out.println(ans);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long X = sc.nextLong();
		int ans = 0;
		double money = 100;
		double risi = 0;

		while (money < X) {
			risi = money*0.01;
			risi = Math.floor(risi);
			money = money + risi;
			ans++;
			risi = 0;
		}

		System.out.println(ans);
	} main {
		Scanner sc = new Scanner(System.in);
		long X = sc.nextLong();
		int ans = 0;
		double money = 100;
		double risi = 0;

		while (money < X) {
			risi = money*0.01;
			risi = Math.floor(risi);
			money = money + risi;
			ans++;
			risi = 0;
		}

		System.out.println(ans);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long X = sc.nextLong(); X sc.nextLong() sc.nextLong sc int ans = 0; ans 0 double money = 100; money 100 double risi = 0; risi 0 while (money < X) {
			risi = money*0.01;
			risi = Math.floor(risi);
			money = money + risi;
			ans++;
			risi = 0;
		} money < X money X {
			risi = money*0.01;
			risi = Math.floor(risi);
			money = money + risi;
			ans++;
			risi = 0;
		} risi = money*0.01 risi money*0.01 money 0.01 risi = Math.floor(risi) risi Math.floor(risi) Math.floor Math risi money = money + risi money money + risi money risi ans++ ans risi = 0 risi 0 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long X = sc.nextLong();
		int ans = 0;
		double money = 100;
		double risi = 0;

		while (money < X) {
			risi = money*0.01;
			risi = Math.floor(risi);
			money = money + risi;
			ans++;
			risi = 0;
		}

		System.out.println(ans);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long X = sc.nextLong();
		int ans = 0;
		double money = 100;
		double risi = 0;

		while (money < X) {
			risi = money*0.01;
			risi = Math.floor(risi);
			money = money + risi;
			ans++;
			risi = 0;
		}

		System.out.println(ans);
	}
} 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 ans = 0;
		double money = 100;
		double risi = 0;

		while (money < X) {
			risi = money*0.01;
			risi = Math.floor(risi);
			money = money + risi;
			ans++;
			risi = 0;
		}

		System.out.println(ans);
	}
}
