

import java.util.Scanner;

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


		Scanner sc = new Scanner(System.in);
		long x = sc.nextLong();
		long count = 0;
		long h = 100L;

		while(h < x) {
			h = (long)Math.floor(h * 1.01);
			count++;
		}

		System.out.println(count);

		sc.close();




	}
} 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 count = 0;
		long h = 100L;

		while(h < x) {
			h = (long)Math.floor(h * 1.01);
			count++;
		}

		System.out.println(count);

		sc.close();




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


		Scanner sc = new Scanner(System.in);
		long x = sc.nextLong();
		long count = 0;
		long h = 100L;

		while(h < x) {
			h = (long)Math.floor(h * 1.01);
			count++;
		}

		System.out.println(count);

		sc.close();




	} main {


		Scanner sc = new Scanner(System.in);
		long x = sc.nextLong();
		long count = 0;
		long h = 100L;

		while(h < x) {
			h = (long)Math.floor(h * 1.01);
			count++;
		}

		System.out.println(count);

		sc.close();




	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long count = 0; count 0 long h = 100L; h 100L while(h < x) {
			h = (long)Math.floor(h * 1.01);
			count++;
		} h < x h x {
			h = (long)Math.floor(h * 1.01);
			count++;
		} h = (long)Math.floor(h * 1.01) h (long)Math.floor(h * 1.01) Math.floor Math h * 1.01 h 1.01 count++ count System.out.println(count) System.out.println System.out System System.out count sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {


		Scanner sc = new Scanner(System.in);
		long x = sc.nextLong();
		long count = 0;
		long h = 100L;

		while(h < x) {
			h = (long)Math.floor(h * 1.01);
			count++;
		}

		System.out.println(count);

		sc.close();




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


		Scanner sc = new Scanner(System.in);
		long x = sc.nextLong();
		long count = 0;
		long h = 100L;

		while(h < x) {
			h = (long)Math.floor(h * 1.01);
			count++;
		}

		System.out.println(count);

		sc.close();




	}
} 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 count = 0;
		long h = 100L;

		while(h < x) {
			h = (long)Math.floor(h * 1.01);
			count++;
		}

		System.out.println(count);

		sc.close();




	}
}
