import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        long X=sc.nextLong();
        long money=100;
        int year=0;
        while(money<X){
            money*=1.01;
            year++;
        }
        System.out.println(year);
    }
} import java.util.*; util.* java class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        long X=sc.nextLong();
        long money=100;
        int year=0;
        while(money<X){
            money*=1.01;
            year++;
        }
        System.out.println(year);
    }
} Main public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        long X=sc.nextLong();
        long money=100;
        int year=0;
        while(money<X){
            money*=1.01;
            year++;
        }
        System.out.println(year);
    } main {
        Scanner sc=new Scanner(System.in);
        long X=sc.nextLong();
        long money=100;
        int year=0;
        while(money<X){
            money*=1.01;
            year++;
        }
        System.out.println(year);
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) long X=sc.nextLong(); X sc.nextLong() sc.nextLong sc long money=100; money 100 int year=0; year 0 while(money<X){
            money*=1.01;
            year++;
        } money<X money X {
            money*=1.01;
            year++;
        } money*=1.01 money 1.01 year++ year System.out.println(year) System.out.println System.out System System.out year String[] args args
import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        long X=sc.nextLong();
        long money=100;
        int year=0;
        while(money<X){
            money*=1.01;
            year++;
        }
        System.out.println(year);
    }
}