import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double N=sc.nextDouble();
		double money=100;
		double count=0;
		while(money<(double)N) {
			money=money*1.01;
			count++;
			money=Math.floor(money);
		}
		System.out.println((int)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);
		double N=sc.nextDouble();
		double money=100;
		double count=0;
		while(money<(double)N) {
			money=money*1.01;
			count++;
			money=Math.floor(money);
		}
		System.out.println((int)count);
		sc.close();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double N=sc.nextDouble();
		double money=100;
		double count=0;
		while(money<(double)N) {
			money=money*1.01;
			count++;
			money=Math.floor(money);
		}
		System.out.println((int)count);
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		double N=sc.nextDouble();
		double money=100;
		double count=0;
		while(money<(double)N) {
			money=money*1.01;
			count++;
			money=Math.floor(money);
		}
		System.out.println((int)count);
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double N=sc.nextDouble(); N sc.nextDouble() sc.nextDouble sc double money=100; money 100 double count=0; count 0 while(money<(double)N) {
			money=money*1.01;
			count++;
			money=Math.floor(money);
		} money<(double)N money (double)N {
			money=money*1.01;
			count++;
			money=Math.floor(money);
		} money=money*1.01 money money*1.01 money 1.01 count++ count money=Math.floor(money) money Math.floor(money) Math.floor Math money System.out.println((int)count) System.out.println System.out System System.out (int)count sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double N=sc.nextDouble();
		double money=100;
		double count=0;
		while(money<(double)N) {
			money=money*1.01;
			count++;
			money=Math.floor(money);
		}
		System.out.println((int)count);
		sc.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double N=sc.nextDouble();
		double money=100;
		double count=0;
		while(money<(double)N) {
			money=money*1.01;
			count++;
			money=Math.floor(money);
		}
		System.out.println((int)count);
		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double N=sc.nextDouble();
		double money=100;
		double count=0;
		while(money<(double)N) {
			money=money*1.01;
			count++;
			money=Math.floor(money);
		}
		System.out.println((int)count);
		sc.close();
	}
}
