import java.util.*;
import java.io.PrintWriter;
public class Main{
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		long x=sc.nextLong();
		long tmp=100;
		int count=0;
		while(x>tmp){
			tmp=tmp+(long)(double)tmp/100;
			count++;
		}
		System.out.println(count);
	}
} import java.util.*; util.* java import java.io.PrintWriter; PrintWriter java.io public class Main{
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		long x=sc.nextLong();
		long tmp=100;
		int count=0;
		while(x>tmp){
			tmp=tmp+(long)(double)tmp/100;
			count++;
		}
		System.out.println(count);
	}
} Main public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		long x=sc.nextLong();
		long tmp=100;
		int count=0;
		while(x>tmp){
			tmp=tmp+(long)(double)tmp/100;
			count++;
		}
		System.out.println(count);
	} main {
		Scanner sc=new Scanner(System.in);
		long x=sc.nextLong();
		long tmp=100;
		int count=0;
		while(x>tmp){
			tmp=tmp+(long)(double)tmp/100;
			count++;
		}
		System.out.println(count);
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) long x=sc.nextLong(); x sc.nextLong() sc.nextLong sc long tmp=100; tmp 100 int count=0; count 0 while(x>tmp){
			tmp=tmp+(long)(double)tmp/100;
			count++;
		} x>tmp x tmp {
			tmp=tmp+(long)(double)tmp/100;
			count++;
		} tmp=tmp+(long)(double)tmp/100 tmp tmp+(long)(double)tmp/100 tmp (long)(double)tmp/100 (long)(double)tmp 100 count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main{
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		long x=sc.nextLong();
		long tmp=100;
		int count=0;
		while(x>tmp){
			tmp=tmp+(long)(double)tmp/100;
			count++;
		}
		System.out.println(count);
	}
} public class Main{
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		long x=sc.nextLong();
		long tmp=100;
		int count=0;
		while(x>tmp){
			tmp=tmp+(long)(double)tmp/100;
			count++;
		}
		System.out.println(count);
	}
} Main
import java.util.*;
import java.io.PrintWriter;
public class Main{
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		long x=sc.nextLong();
		long tmp=100;
		int count=0;
		while(x>tmp){
			tmp=tmp+(long)(double)tmp/100;
			count++;
		}
		System.out.println(count);
	}
}