
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long X = scan.nextLong();
		long cash = 100;
		int year = 0;

		while(cash < X) {
			cash = (long) Math.floor(cash * 1.01);
			year++;
		}

		System.out.println(year);
		scan.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long X = scan.nextLong();
		long cash = 100;
		int year = 0;

		while(cash < X) {
			cash = (long) Math.floor(cash * 1.01);
			year++;
		}

		System.out.println(year);
		scan.close();
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long X = scan.nextLong();
		long cash = 100;
		int year = 0;

		while(cash < X) {
			cash = (long) Math.floor(cash * 1.01);
			year++;
		}

		System.out.println(year);
		scan.close();
	} main {
		Scanner scan = new Scanner(System.in);
		long X = scan.nextLong();
		long cash = 100;
		int year = 0;

		while(cash < X) {
			cash = (long) Math.floor(cash * 1.01);
			year++;
		}

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

		while(cash < X) {
			cash = (long) Math.floor(cash * 1.01);
			year++;
		}

		System.out.println(year);
		scan.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long X = scan.nextLong();
		long cash = 100;
		int year = 0;

		while(cash < X) {
			cash = (long) Math.floor(cash * 1.01);
			year++;
		}

		System.out.println(year);
		scan.close();
	}
} Main

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long X = scan.nextLong();
		long cash = 100;
		int year = 0;

		while(cash < X) {
			cash = (long) Math.floor(cash * 1.01);
			year++;
		}

		System.out.println(year);
		scan.close();
	}
}
