import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner stdIn = new Scanner(System.in);

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

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

		System.out.println(count);

	}

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

	public static void main(String[] args) {

		Scanner stdIn = new Scanner(System.in);

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

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

		System.out.println(count);

	}

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

		Scanner stdIn = new Scanner(System.in);

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

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

		System.out.println(count);

	} main {

		Scanner stdIn = new Scanner(System.in);

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

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

		System.out.println(count);

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

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

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

		System.out.println(count);

	}

} public class Main {

	public static void main(String[] args) {

		Scanner stdIn = new Scanner(System.in);

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

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

		System.out.println(count);

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner stdIn = new Scanner(System.in);

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

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

		System.out.println(count);

	}

}
