import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		
		//入力表示
		long X = scanner.nextLong();
		double P = 100;
		int count =0;
		
		//計算
		while (P < X) {
			P = P *1.01;
			P = Math.floor(P);
			count++;
			
		}
		System.out.println(count);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		
		//入力表示
		long X = scanner.nextLong();
		double P = 100;
		int count =0;
		
		//計算
		while (P < X) {
			P = P *1.01;
			P = Math.floor(P);
			count++;
			
		}
		System.out.println(count);
	}
} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		
		//入力表示
		long X = scanner.nextLong();
		double P = 100;
		int count =0;
		
		//計算
		while (P < X) {
			P = P *1.01;
			P = Math.floor(P);
			count++;
			
		}
		System.out.println(count);
	} main {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		
		//入力表示
		long X = scanner.nextLong();
		double P = 100;
		int count =0;
		
		//計算
		while (P < X) {
			P = P *1.01;
			P = Math.floor(P);
			count++;
			
		}
		System.out.println(count);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) long X = scanner.nextLong(); X scanner.nextLong() scanner.nextLong scanner double P = 100; P 100 int count =0; count 0 while (P < X) {
			P = P *1.01;
			P = Math.floor(P);
			count++;
			
		} P < X P X {
			P = P *1.01;
			P = Math.floor(P);
			count++;
			
		} P = P *1.01 P P *1.01 P 1.01 P = Math.floor(P) P Math.floor(P) Math.floor Math P count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		
		//入力表示
		long X = scanner.nextLong();
		double P = 100;
		int count =0;
		
		//計算
		while (P < X) {
			P = P *1.01;
			P = Math.floor(P);
			count++;
			
		}
		System.out.println(count);
	}
} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		
		//入力表示
		long X = scanner.nextLong();
		double P = 100;
		int count =0;
		
		//計算
		while (P < X) {
			P = P *1.01;
			P = Math.floor(P);
			count++;
			
		}
		System.out.println(count);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		
		//入力表示
		long X = scanner.nextLong();
		double P = 100;
		int count =0;
		
		//計算
		while (P < X) {
			P = P *1.01;
			P = Math.floor(P);
			count++;
			
		}
		System.out.println(count);
	}
}