import java.util.Scanner;
public class Main {

    public static void main(String[] args) {
	    Scanner s = new Scanner(System.in);
	    long n =s.nextLong();
	    long a =100;
	    int p =1;
	    long count =0;
	    long ii =0;
	    while(a<n){
	        ii = (a*p)/100;
	        a += ii;
	        count++;
        }
        System.out.println(count);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
	    Scanner s = new Scanner(System.in);
	    long n =s.nextLong();
	    long a =100;
	    int p =1;
	    long count =0;
	    long ii =0;
	    while(a<n){
	        ii = (a*p)/100;
	        a += ii;
	        count++;
        }
        System.out.println(count);
    }
} Main public static void main(String[] args) {
	    Scanner s = new Scanner(System.in);
	    long n =s.nextLong();
	    long a =100;
	    int p =1;
	    long count =0;
	    long ii =0;
	    while(a<n){
	        ii = (a*p)/100;
	        a += ii;
	        count++;
        }
        System.out.println(count);
    } main {
	    Scanner s = new Scanner(System.in);
	    long n =s.nextLong();
	    long a =100;
	    int p =1;
	    long count =0;
	    long ii =0;
	    while(a<n){
	        ii = (a*p)/100;
	        a += ii;
	        count++;
        }
        System.out.println(count);
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) long n =s.nextLong(); n s.nextLong() s.nextLong s long a =100; a 100 int p =1; p 1 long count =0; count 0 long ii =0; ii 0 while(a<n){
	        ii = (a*p)/100;
	        a += ii;
	        count++;
        } a<n a n {
	        ii = (a*p)/100;
	        a += ii;
	        count++;
        } ii = (a*p)/100 ii (a*p)/100 (a*p) a p 100 a += ii a ii 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 s = new Scanner(System.in);
	    long n =s.nextLong();
	    long a =100;
	    int p =1;
	    long count =0;
	    long ii =0;
	    while(a<n){
	        ii = (a*p)/100;
	        a += ii;
	        count++;
        }
        System.out.println(count);
    }
} public class Main {

    public static void main(String[] args) {
	    Scanner s = new Scanner(System.in);
	    long n =s.nextLong();
	    long a =100;
	    int p =1;
	    long count =0;
	    long ii =0;
	    while(a<n){
	        ii = (a*p)/100;
	        a += ii;
	        count++;
        }
        System.out.println(count);
    }
} Main
import java.util.Scanner;
public class Main {

    public static void main(String[] args) {
	    Scanner s = new Scanner(System.in);
	    long n =s.nextLong();
	    long a =100;
	    int p =1;
	    long count =0;
	    long ii =0;
	    while(a<n){
	        ii = (a*p)/100;
	        a += ii;
	        count++;
        }
        System.out.println(count);
    }
}
