import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long X = Long.parseLong(sc.next());
		sc.close();

		BigDecimal bd1 = new BigDecimal("100");
		BigDecimal bd2 = new BigDecimal("1.01");
		BigDecimal bd3 = new BigDecimal(String.valueOf(X));

		int year = 0;
		while(bd1.compareTo(bd3) == -1) {
			bd1 = bd1.multiply(bd2);
			bd1 = bd1.setScale(0, RoundingMode.DOWN);
			year++;
		}
		System.out.println(year);
	}

} import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long X = Long.parseLong(sc.next());
		sc.close();

		BigDecimal bd1 = new BigDecimal("100");
		BigDecimal bd2 = new BigDecimal("1.01");
		BigDecimal bd3 = new BigDecimal(String.valueOf(X));

		int year = 0;
		while(bd1.compareTo(bd3) == -1) {
			bd1 = bd1.multiply(bd2);
			bd1 = bd1.setScale(0, RoundingMode.DOWN);
			year++;
		}
		System.out.println(year);
	}

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

		BigDecimal bd1 = new BigDecimal("100");
		BigDecimal bd2 = new BigDecimal("1.01");
		BigDecimal bd3 = new BigDecimal(String.valueOf(X));

		int year = 0;
		while(bd1.compareTo(bd3) == -1) {
			bd1 = bd1.multiply(bd2);
			bd1 = bd1.setScale(0, RoundingMode.DOWN);
			year++;
		}
		System.out.println(year);
	} main {
		Scanner sc = new Scanner(System.in);
		long X = Long.parseLong(sc.next());
		sc.close();

		BigDecimal bd1 = new BigDecimal("100");
		BigDecimal bd2 = new BigDecimal("1.01");
		BigDecimal bd3 = new BigDecimal(String.valueOf(X));

		int year = 0;
		while(bd1.compareTo(bd3) == -1) {
			bd1 = bd1.multiply(bd2);
			bd1 = bd1.setScale(0, RoundingMode.DOWN);
			year++;
		}
		System.out.println(year);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long X = Long.parseLong(sc.next()); X Long.parseLong(sc.next()) Long.parseLong Long sc.next() sc.next sc sc.close() sc.close sc BigDecimal bd1 = new BigDecimal("100"); bd1 new BigDecimal("100") BigDecimal bd2 = new BigDecimal("1.01"); bd2 new BigDecimal("1.01") BigDecimal bd3 = new BigDecimal(String.valueOf(X)); bd3 new BigDecimal(String.valueOf(X)) int year = 0; year 0 while(bd1.compareTo(bd3) == -1) {
			bd1 = bd1.multiply(bd2);
			bd1 = bd1.setScale(0, RoundingMode.DOWN);
			year++;
		} bd1.compareTo(bd3) == -1 bd1.compareTo(bd3) bd1.compareTo bd1 bd3 -1 1 {
			bd1 = bd1.multiply(bd2);
			bd1 = bd1.setScale(0, RoundingMode.DOWN);
			year++;
		} bd1 = bd1.multiply(bd2) bd1 bd1.multiply(bd2) bd1.multiply bd1 bd2 bd1 = bd1.setScale(0, RoundingMode.DOWN) bd1 bd1.setScale(0, RoundingMode.DOWN) bd1.setScale bd1 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN year++ year System.out.println(year) System.out.println System.out System System.out year String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long X = Long.parseLong(sc.next());
		sc.close();

		BigDecimal bd1 = new BigDecimal("100");
		BigDecimal bd2 = new BigDecimal("1.01");
		BigDecimal bd3 = new BigDecimal(String.valueOf(X));

		int year = 0;
		while(bd1.compareTo(bd3) == -1) {
			bd1 = bd1.multiply(bd2);
			bd1 = bd1.setScale(0, RoundingMode.DOWN);
			year++;
		}
		System.out.println(year);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long X = Long.parseLong(sc.next());
		sc.close();

		BigDecimal bd1 = new BigDecimal("100");
		BigDecimal bd2 = new BigDecimal("1.01");
		BigDecimal bd3 = new BigDecimal(String.valueOf(X));

		int year = 0;
		while(bd1.compareTo(bd3) == -1) {
			bd1 = bd1.multiply(bd2);
			bd1 = bd1.setScale(0, RoundingMode.DOWN);
			year++;
		}
		System.out.println(year);
	}

} Main
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long X = Long.parseLong(sc.next());
		sc.close();

		BigDecimal bd1 = new BigDecimal("100");
		BigDecimal bd2 = new BigDecimal("1.01");
		BigDecimal bd3 = new BigDecimal(String.valueOf(X));

		int year = 0;
		while(bd1.compareTo(bd3) == -1) {
			bd1 = bd1.multiply(bd2);
			bd1 = bd1.setScale(0, RoundingMode.DOWN);
			year++;
		}
		System.out.println(year);
	}

}