import java.util.*;
import java.math.*;
public class Main {
	public static void main(String[] args){
		
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
      	int count = 0; 
        //BigInteger biga = new BigInteger(a); 
        //BigInteger first = new BigInteger("100"); 
        long f = 100;
      
      	while (a > f)
       	{ f*= 1.01;
          count++;
        }				
		System.out.println(count);
	}
} import java.util.*; util.* java import java.math.*; math.* java public class Main {
	public static void main(String[] args){
		
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
      	int count = 0; 
        //BigInteger biga = new BigInteger(a); 
        //BigInteger first = new BigInteger("100"); 
        long f = 100;
      
      	while (a > f)
       	{ f*= 1.01;
          count++;
        }				
		System.out.println(count);
	}
} Main public static void main(String[] args){
		
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
      	int count = 0; 
        //BigInteger biga = new BigInteger(a); 
        //BigInteger first = new BigInteger("100"); 
        long f = 100;
      
      	while (a > f)
       	{ f*= 1.01;
          count++;
        }				
		System.out.println(count);
	} main {
		
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
      	int count = 0; 
        //BigInteger biga = new BigInteger(a); 
        //BigInteger first = new BigInteger("100"); 
        long f = 100;
      
      	while (a > f)
       	{ f*= 1.01;
          count++;
        }				
		System.out.println(count);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long a = sc.nextLong(); a sc.nextLong() sc.nextLong sc int count = 0; count 0 long f = 100; f 100 while (a > f)
       	{ f*= 1.01;
          count++;
        } a > f a f { f*= 1.01;
          count++;
        } f*= 1.01 f 1.01 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 a = sc.nextLong();
      	int count = 0; 
        //BigInteger biga = new BigInteger(a); 
        //BigInteger first = new BigInteger("100"); 
        long f = 100;
      
      	while (a > f)
       	{ f*= 1.01;
          count++;
        }				
		System.out.println(count);
	}
} public class Main {
	public static void main(String[] args){
		
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
      	int count = 0; 
        //BigInteger biga = new BigInteger(a); 
        //BigInteger first = new BigInteger("100"); 
        long f = 100;
      
      	while (a > f)
       	{ f*= 1.01;
          count++;
        }				
		System.out.println(count);
	}
} Main
import java.util.*;
import java.math.*;
public class Main {
	public static void main(String[] args){
		
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
      	int count = 0; 
        //BigInteger biga = new BigInteger(a); 
        //BigInteger first = new BigInteger("100"); 
        long f = 100;
      
      	while (a > f)
       	{ f*= 1.01;
          count++;
        }				
		System.out.println(count);
	}
}