import java.util.*;
public class Main {

    public static void main(String[] args) {
        Scanner  yomi = new Scanner(System.in);
        long a = yomi.nextLong();
        long b=100;
        for(int i=1;b<a;i++){
            b+=b/100;
            if (b>=a) System.out.println(i);
        }

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

    public static void main(String[] args) {
        Scanner  yomi = new Scanner(System.in);
        long a = yomi.nextLong();
        long b=100;
        for(int i=1;b<a;i++){
            b+=b/100;
            if (b>=a) System.out.println(i);
        }

    }
} Main public static void main(String[] args) {
        Scanner  yomi = new Scanner(System.in);
        long a = yomi.nextLong();
        long b=100;
        for(int i=1;b<a;i++){
            b+=b/100;
            if (b>=a) System.out.println(i);
        }

    } main {
        Scanner  yomi = new Scanner(System.in);
        long a = yomi.nextLong();
        long b=100;
        for(int i=1;b<a;i++){
            b+=b/100;
            if (b>=a) System.out.println(i);
        }

    } Scanner  yomi = new Scanner(System.in); yomi new Scanner(System.in) long a = yomi.nextLong(); a yomi.nextLong() yomi.nextLong yomi long b=100; b 100 for(int i=1;b<a;i++){
            b+=b/100;
            if (b>=a) System.out.println(i);
        } int i=1; int i=1; i 1 b<a b a i++ i++ i {
            b+=b/100;
            if (b>=a) System.out.println(i);
        } {
            b+=b/100;
            if (b>=a) System.out.println(i);
        } b+=b/100 b b/100 b 100 if (b>=a) System.out.println(i); b>=a b a System.out.println(i) System.out.println System.out System System.out i String[] args args public class Main {

    public static void main(String[] args) {
        Scanner  yomi = new Scanner(System.in);
        long a = yomi.nextLong();
        long b=100;
        for(int i=1;b<a;i++){
            b+=b/100;
            if (b>=a) System.out.println(i);
        }

    }
} public class Main {

    public static void main(String[] args) {
        Scanner  yomi = new Scanner(System.in);
        long a = yomi.nextLong();
        long b=100;
        for(int i=1;b<a;i++){
            b+=b/100;
            if (b>=a) System.out.println(i);
        }

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

    public static void main(String[] args) {
        Scanner  yomi = new Scanner(System.in);
        long a = yomi.nextLong();
        long b=100;
        for(int i=1;b<a;i++){
            b+=b/100;
            if (b>=a) System.out.println(i);
        }

    }
}