import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Long x = sc.nextLong();
		Long currentDeposit = (long)100; 
		Long yearElapse = (long)0;
		
		while(x > currentDeposit) {
			currentDeposit = (long)(currentDeposit * 1.01);
			yearElapse ++;
		}
		System.out.println(yearElapse);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Long x = sc.nextLong();
		Long currentDeposit = (long)100; 
		Long yearElapse = (long)0;
		
		while(x > currentDeposit) {
			currentDeposit = (long)(currentDeposit * 1.01);
			yearElapse ++;
		}
		System.out.println(yearElapse);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Long x = sc.nextLong();
		Long currentDeposit = (long)100; 
		Long yearElapse = (long)0;
		
		while(x > currentDeposit) {
			currentDeposit = (long)(currentDeposit * 1.01);
			yearElapse ++;
		}
		System.out.println(yearElapse);
	} main {
		Scanner sc = new Scanner(System.in);
		Long x = sc.nextLong();
		Long currentDeposit = (long)100; 
		Long yearElapse = (long)0;
		
		while(x > currentDeposit) {
			currentDeposit = (long)(currentDeposit * 1.01);
			yearElapse ++;
		}
		System.out.println(yearElapse);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc Long currentDeposit = (long)100; currentDeposit (long)100 Long yearElapse = (long)0; yearElapse (long)0 while(x > currentDeposit) {
			currentDeposit = (long)(currentDeposit * 1.01);
			yearElapse ++;
		} x > currentDeposit x currentDeposit {
			currentDeposit = (long)(currentDeposit * 1.01);
			yearElapse ++;
		} currentDeposit = (long)(currentDeposit * 1.01) currentDeposit (long)(currentDeposit * 1.01) currentDeposit 1.01 yearElapse ++ yearElapse System.out.println(yearElapse) System.out.println System.out System System.out yearElapse String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Long x = sc.nextLong();
		Long currentDeposit = (long)100; 
		Long yearElapse = (long)0;
		
		while(x > currentDeposit) {
			currentDeposit = (long)(currentDeposit * 1.01);
			yearElapse ++;
		}
		System.out.println(yearElapse);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Long x = sc.nextLong();
		Long currentDeposit = (long)100; 
		Long yearElapse = (long)0;
		
		while(x > currentDeposit) {
			currentDeposit = (long)(currentDeposit * 1.01);
			yearElapse ++;
		}
		System.out.println(yearElapse);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Long x = sc.nextLong();
		Long currentDeposit = (long)100; 
		Long yearElapse = (long)0;
		
		while(x > currentDeposit) {
			currentDeposit = (long)(currentDeposit * 1.01);
			yearElapse ++;
		}
		System.out.println(yearElapse);
	}
}