import java.util.*;
public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long num = sc.nextLong();
      	boolean flg = true;
      	int year = 0;
      	long money = 100;
      	long counter = 0;
      
      	while (flg) {
          	money *= 1.01; 
          	counter += 1;
          	if (num<=money) {
              flg = false;
              System.out.println(counter);
            }	
        }

        
    }

} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long num = sc.nextLong();
      	boolean flg = true;
      	int year = 0;
      	long money = 100;
      	long counter = 0;
      
      	while (flg) {
          	money *= 1.01; 
          	counter += 1;
          	if (num<=money) {
              flg = false;
              System.out.println(counter);
            }	
        }

        
    }

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long num = sc.nextLong();
      	boolean flg = true;
      	int year = 0;
      	long money = 100;
      	long counter = 0;
      
      	while (flg) {
          	money *= 1.01; 
          	counter += 1;
          	if (num<=money) {
              flg = false;
              System.out.println(counter);
            }	
        }

        
    } main {
        Scanner sc = new Scanner(System.in);
        long num = sc.nextLong();
      	boolean flg = true;
      	int year = 0;
      	long money = 100;
      	long counter = 0;
      
      	while (flg) {
          	money *= 1.01; 
          	counter += 1;
          	if (num<=money) {
              flg = false;
              System.out.println(counter);
            }	
        }

        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long num = sc.nextLong(); num sc.nextLong() sc.nextLong sc boolean flg = true; flg true int year = 0; year 0 long money = 100; money 100 long counter = 0; counter 0 while (flg) {
          	money *= 1.01; 
          	counter += 1;
          	if (num<=money) {
              flg = false;
              System.out.println(counter);
            }	
        } flg {
          	money *= 1.01; 
          	counter += 1;
          	if (num<=money) {
              flg = false;
              System.out.println(counter);
            }	
        } money *= 1.01 money 1.01 counter += 1 counter 1 if (num<=money) {
              flg = false;
              System.out.println(counter);
            } num<=money num money {
              flg = false;
              System.out.println(counter);
            } flg = false flg false System.out.println(counter) System.out.println System.out System System.out counter String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long num = sc.nextLong();
      	boolean flg = true;
      	int year = 0;
      	long money = 100;
      	long counter = 0;
      
      	while (flg) {
          	money *= 1.01; 
          	counter += 1;
          	if (num<=money) {
              flg = false;
              System.out.println(counter);
            }	
        }

        
    }

} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long num = sc.nextLong();
      	boolean flg = true;
      	int year = 0;
      	long money = 100;
      	long counter = 0;
      
      	while (flg) {
          	money *= 1.01; 
          	counter += 1;
          	if (num<=money) {
              flg = false;
              System.out.println(counter);
            }	
        }

        
    }

} Main
import java.util.*;
public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long num = sc.nextLong();
      	boolean flg = true;
      	int year = 0;
      	long money = 100;
      	long counter = 0;
      
      	while (flg) {
          	money *= 1.01; 
          	counter += 1;
          	if (num<=money) {
              flg = false;
              System.out.println(counter);
            }	
        }

        
    }

}