import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		try(Scanner sc = new Scanner(System.in)) {
			

			long x = sc.nextLong();
			
//			List<Double> compoundIntereset = new ArrayList<>();
			
			long p = 100;
			long i = 0;
			
			while(p < x) {
				
				p = (long)((double)p * 1.01);
				i++;
				
			}
			
			System.out.println(i);
				
		}
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		try(Scanner sc = new Scanner(System.in)) {
			

			long x = sc.nextLong();
			
//			List<Double> compoundIntereset = new ArrayList<>();
			
			long p = 100;
			long i = 0;
			
			while(p < x) {
				
				p = (long)((double)p * 1.01);
				i++;
				
			}
			
			System.out.println(i);
				
		}
	}

} Main public static void main(String[] args){
		try(Scanner sc = new Scanner(System.in)) {
			

			long x = sc.nextLong();
			
//			List<Double> compoundIntereset = new ArrayList<>();
			
			long p = 100;
			long i = 0;
			
			while(p < x) {
				
				p = (long)((double)p * 1.01);
				i++;
				
			}
			
			System.out.println(i);
				
		}
	} main {
		try(Scanner sc = new Scanner(System.in)) {
			

			long x = sc.nextLong();
			
//			List<Double> compoundIntereset = new ArrayList<>();
			
			long p = 100;
			long i = 0;
			
			while(p < x) {
				
				p = (long)((double)p * 1.01);
				i++;
				
			}
			
			System.out.println(i);
				
		}
	} try(Scanner sc = new Scanner(System.in)) {
			

			long x = sc.nextLong();
			
//			List<Double> compoundIntereset = new ArrayList<>();
			
			long p = 100;
			long i = 0;
			
			while(p < x) {
				
				p = (long)((double)p * 1.01);
				i++;
				
			}
			
			System.out.println(i);
				
		} {
			

			long x = sc.nextLong();
			
//			List<Double> compoundIntereset = new ArrayList<>();
			
			long p = 100;
			long i = 0;
			
			while(p < x) {
				
				p = (long)((double)p * 1.01);
				i++;
				
			}
			
			System.out.println(i);
				
		} Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long p = 100; p 100 long i = 0; i 0 while(p < x) {
				
				p = (long)((double)p * 1.01);
				i++;
				
			} p < x p x {
				
				p = (long)((double)p * 1.01);
				i++;
				
			} p = (long)((double)p * 1.01) p (long)((double)p * 1.01) (double)p 1.01 i++ i System.out.println(i) System.out.println System.out System System.out i String[] args args public class Main {
	public static void main(String[] args){
		try(Scanner sc = new Scanner(System.in)) {
			

			long x = sc.nextLong();
			
//			List<Double> compoundIntereset = new ArrayList<>();
			
			long p = 100;
			long i = 0;
			
			while(p < x) {
				
				p = (long)((double)p * 1.01);
				i++;
				
			}
			
			System.out.println(i);
				
		}
	}

} public class Main {
	public static void main(String[] args){
		try(Scanner sc = new Scanner(System.in)) {
			

			long x = sc.nextLong();
			
//			List<Double> compoundIntereset = new ArrayList<>();
			
			long p = 100;
			long i = 0;
			
			while(p < x) {
				
				p = (long)((double)p * 1.01);
				i++;
				
			}
			
			System.out.println(i);
				
		}
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		try(Scanner sc = new Scanner(System.in)) {
			

			long x = sc.nextLong();
			
//			List<Double> compoundIntereset = new ArrayList<>();
			
			long p = 100;
			long i = 0;
			
			while(p < x) {
				
				p = (long)((double)p * 1.01);
				i++;
				
			}
			
			System.out.println(i);
				
		}
	}

}