import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		long i = sc.nextLong();
		long money = 100;
		int count = 0;

		while (money < i) {
			money += money * 0.01;
			count++;
		}

		System.out.println(count);

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		long i = sc.nextLong();
		long money = 100;
		int count = 0;

		while (money < i) {
			money += money * 0.01;
			count++;
		}

		System.out.println(count);

	}

} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		long i = sc.nextLong();
		long money = 100;
		int count = 0;

		while (money < i) {
			money += money * 0.01;
			count++;
		}

		System.out.println(count);

	} main {

		Scanner sc = new Scanner(System.in);

		long i = sc.nextLong();
		long money = 100;
		int count = 0;

		while (money < i) {
			money += money * 0.01;
			count++;
		}

		System.out.println(count);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long i = sc.nextLong(); i sc.nextLong() sc.nextLong sc long money = 100; money 100 int count = 0; count 0 while (money < i) {
			money += money * 0.01;
			count++;
		} money < i money i {
			money += money * 0.01;
			count++;
		} money += money * 0.01 money money * 0.01 money 0.01 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) {

		Scanner sc = new Scanner(System.in);

		long i = sc.nextLong();
		long money = 100;
		int count = 0;

		while (money < i) {
			money += money * 0.01;
			count++;
		}

		System.out.println(count);

	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		long i = sc.nextLong();
		long money = 100;
		int count = 0;

		while (money < i) {
			money += money * 0.01;
			count++;
		}

		System.out.println(count);

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		long i = sc.nextLong();
		long money = 100;
		int count = 0;

		while (money < i) {
			money += money * 0.01;
			count++;
		}

		System.out.println(count);

	}

}