import java.util.Scanner;

public class Main {

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

		long yokin = 100;
		// 目標金額
		long purpose = sc.nextLong();
		// 経過年度
		int year = 0;

		while(true) {
			if(yokin >= purpose) {
				System.out.println(year);
				break;
			}

			yokin = (long) (yokin * 1.01);
			year++;
		}

		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 yokin = 100;
		// 目標金額
		long purpose = sc.nextLong();
		// 経過年度
		int year = 0;

		while(true) {
			if(yokin >= purpose) {
				System.out.println(year);
				break;
			}

			yokin = (long) (yokin * 1.01);
			year++;
		}

		sc.close();
	}


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

		long yokin = 100;
		// 目標金額
		long purpose = sc.nextLong();
		// 経過年度
		int year = 0;

		while(true) {
			if(yokin >= purpose) {
				System.out.println(year);
				break;
			}

			yokin = (long) (yokin * 1.01);
			year++;
		}

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

		long yokin = 100;
		// 目標金額
		long purpose = sc.nextLong();
		// 経過年度
		int year = 0;

		while(true) {
			if(yokin >= purpose) {
				System.out.println(year);
				break;
			}

			yokin = (long) (yokin * 1.01);
			year++;
		}

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long yokin = 100; yokin 100 long purpose = sc.nextLong(); purpose sc.nextLong() sc.nextLong sc int year = 0; year 0 while(true) {
			if(yokin >= purpose) {
				System.out.println(year);
				break;
			}

			yokin = (long) (yokin * 1.01);
			year++;
		} true {
			if(yokin >= purpose) {
				System.out.println(year);
				break;
			}

			yokin = (long) (yokin * 1.01);
			year++;
		} if(yokin >= purpose) {
				System.out.println(year);
				break;
			} yokin >= purpose yokin purpose {
				System.out.println(year);
				break;
			} System.out.println(year) System.out.println System.out System System.out year break; yokin = (long) (yokin * 1.01) yokin (long) (yokin * 1.01) yokin 1.01 year++ year sc.close() sc.close sc String[] args args public class Main {

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

		long yokin = 100;
		// 目標金額
		long purpose = sc.nextLong();
		// 経過年度
		int year = 0;

		while(true) {
			if(yokin >= purpose) {
				System.out.println(year);
				break;
			}

			yokin = (long) (yokin * 1.01);
			year++;
		}

		sc.close();
	}


} public class Main {

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

		long yokin = 100;
		// 目標金額
		long purpose = sc.nextLong();
		// 経過年度
		int year = 0;

		while(true) {
			if(yokin >= purpose) {
				System.out.println(year);
				break;
			}

			yokin = (long) (yokin * 1.01);
			year++;
		}

		sc.close();
	}


} Main
import java.util.Scanner;

public class Main {

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

		long yokin = 100;
		// 目標金額
		long purpose = sc.nextLong();
		// 経過年度
		int year = 0;

		while(true) {
			if(yokin >= purpose) {
				System.out.println(year);
				break;
			}

			yokin = (long) (yokin * 1.01);
			year++;
		}

		sc.close();
	}


}
