import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		long x = Long.parseLong(sc.next());
		long money = 100;
		int year = 0;

		while(money < x){
			money = (long) (money * 1.01);
			year++;				
		}

		System.out.println(year);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		long x = Long.parseLong(sc.next());
		long money = 100;
		int year = 0;

		while(money < x){
			money = (long) (money * 1.01);
			year++;				
		}

		System.out.println(year);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		long x = Long.parseLong(sc.next());
		long money = 100;
		int year = 0;

		while(money < x){
			money = (long) (money * 1.01);
			year++;				
		}

		System.out.println(year);
	} main {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		long x = Long.parseLong(sc.next());
		long money = 100;
		int year = 0;

		while(money < x){
			money = (long) (money * 1.01);
			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 long money = 100; money 100 int year = 0; year 0 while(money < x){
			money = (long) (money * 1.01);
			year++;				
		} money < x money x {
			money = (long) (money * 1.01);
			year++;				
		} money = (long) (money * 1.01) money (long) (money * 1.01) money 1.01 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());
		long money = 100;
		int year = 0;

		while(money < x){
			money = (long) (money * 1.01);
			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());
		long money = 100;
		int year = 0;

		while(money < x){
			money = (long) (money * 1.01);
			year++;				
		}

		System.out.println(year);
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		long x = Long.parseLong(sc.next());
		long money = 100;
		int year = 0;

		while(money < x){
			money = (long) (money * 1.01);
			year++;				
		}

		System.out.println(year);
	}
}