import java.util.*;
import javax.lang.model.util.ElementScanner6;
//import java.lang.Math;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        // 入力
        long x = sc.nextLong();
        //String s = sc.next();

        // 処理
        long out = 0;
        long work = 100;
        while(true){
            work = (long)(work * 1.01);
            out += 1;
            if(work >= x) break;
        }

        // 出力
        System.out.println(out);
    }
} import java.util.*; util.* java import javax.lang.model.util.ElementScanner6; ElementScanner6 javax.lang.model.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        // 入力
        long x = sc.nextLong();
        //String s = sc.next();

        // 処理
        long out = 0;
        long work = 100;
        while(true){
            work = (long)(work * 1.01);
            out += 1;
            if(work >= x) break;
        }

        // 出力
        System.out.println(out);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        // 入力
        long x = sc.nextLong();
        //String s = sc.next();

        // 処理
        long out = 0;
        long work = 100;
        while(true){
            work = (long)(work * 1.01);
            out += 1;
            if(work >= x) break;
        }

        // 出力
        System.out.println(out);
    } main {
        Scanner sc = new Scanner(System.in);

        // 入力
        long x = sc.nextLong();
        //String s = sc.next();

        // 処理
        long out = 0;
        long work = 100;
        while(true){
            work = (long)(work * 1.01);
            out += 1;
            if(work >= x) break;
        }

        // 出力
        System.out.println(out);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long out = 0; out 0 long work = 100; work 100 while(true){
            work = (long)(work * 1.01);
            out += 1;
            if(work >= x) break;
        } true {
            work = (long)(work * 1.01);
            out += 1;
            if(work >= x) break;
        } work = (long)(work * 1.01) work (long)(work * 1.01) work 1.01 out += 1 out 1 if(work >= x) break; work >= x work x break; System.out.println(out) System.out.println System.out System System.out out String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        // 入力
        long x = sc.nextLong();
        //String s = sc.next();

        // 処理
        long out = 0;
        long work = 100;
        while(true){
            work = (long)(work * 1.01);
            out += 1;
            if(work >= x) break;
        }

        // 出力
        System.out.println(out);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        // 入力
        long x = sc.nextLong();
        //String s = sc.next();

        // 処理
        long out = 0;
        long work = 100;
        while(true){
            work = (long)(work * 1.01);
            out += 1;
            if(work >= x) break;
        }

        // 出力
        System.out.println(out);
    }
} Main
import java.util.*;
import javax.lang.model.util.ElementScanner6;
//import java.lang.Math;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        // 入力
        long x = sc.nextLong();
        //String s = sc.next();

        // 処理
        long out = 0;
        long work = 100;
        while(true){
            work = (long)(work * 1.01);
            out += 1;
            if(work >= x) break;
        }

        // 出力
        System.out.println(out);
    }
}