import java.util.Scanner;
class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
		long b = 100;
		int c = 1;
		for(;;) {
			b += b/100;
			if(a <= b) break;
			c++;
		}
		System.out.println(c);
	}
} import java.util.Scanner; Scanner java.util class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
		long b = 100;
		int c = 1;
		for(;;) {
			b += b/100;
			if(a <= b) break;
			c++;
		}
		System.out.println(c);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
		long b = 100;
		int c = 1;
		for(;;) {
			b += b/100;
			if(a <= b) break;
			c++;
		}
		System.out.println(c);
	} main {
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
		long b = 100;
		int c = 1;
		for(;;) {
			b += b/100;
			if(a <= b) break;
			c++;
		}
		System.out.println(c);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long a = sc.nextLong(); a sc.nextLong() sc.nextLong sc long b = 100; b 100 int c = 1; c 1 for(;;) {
			b += b/100;
			if(a <= b) break;
			c++;
		} ; {
			b += b/100;
			if(a <= b) break;
			c++;
		} {
			b += b/100;
			if(a <= b) break;
			c++;
		} b += b/100 b b/100 b 100 if(a <= b) break; a <= b a b break; c++ c System.out.println(c) System.out.println System.out System System.out c String[] args args
import java.util.Scanner;
class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
		long b = 100;
		int c = 1;
		for(;;) {
			b += b/100;
			if(a <= b) break;
			c++;
		}
		System.out.println(c);
	}
}