import java.util.*;

public class Main {
    public static void main(String[] args) {
        Long x, y = (long)100;
        Long n = (long)0;
        Scanner sc = new Scanner(System.in);
        x = sc.nextLong();
        while (y < x){
            Long i = y / (long)100;
            n++;
            y += i;
            //System.out.println("kekka" + y);
        }
        System.out.println(n);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Long x, y = (long)100;
        Long n = (long)0;
        Scanner sc = new Scanner(System.in);
        x = sc.nextLong();
        while (y < x){
            Long i = y / (long)100;
            n++;
            y += i;
            //System.out.println("kekka" + y);
        }
        System.out.println(n);
    }
} Main public static void main(String[] args) {
        Long x, y = (long)100;
        Long n = (long)0;
        Scanner sc = new Scanner(System.in);
        x = sc.nextLong();
        while (y < x){
            Long i = y / (long)100;
            n++;
            y += i;
            //System.out.println("kekka" + y);
        }
        System.out.println(n);
    } main {
        Long x, y = (long)100;
        Long n = (long)0;
        Scanner sc = new Scanner(System.in);
        x = sc.nextLong();
        while (y < x){
            Long i = y / (long)100;
            n++;
            y += i;
            //System.out.println("kekka" + y);
        }
        System.out.println(n);
    } Long x x y = (long)100; y (long)100 Long n = (long)0; n (long)0 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) x = sc.nextLong() x sc.nextLong() sc.nextLong sc while (y < x){
            Long i = y / (long)100;
            n++;
            y += i;
            //System.out.println("kekka" + y);
        } y < x y x {
            Long i = y / (long)100;
            n++;
            y += i;
            //System.out.println("kekka" + y);
        } Long i = y / (long)100; i y / (long)100 y (long)100 n++ n y += i y i System.out.println(n) System.out.println System.out System System.out n String[] args args public class Main {
    public static void main(String[] args) {
        Long x, y = (long)100;
        Long n = (long)0;
        Scanner sc = new Scanner(System.in);
        x = sc.nextLong();
        while (y < x){
            Long i = y / (long)100;
            n++;
            y += i;
            //System.out.println("kekka" + y);
        }
        System.out.println(n);
    }
} public class Main {
    public static void main(String[] args) {
        Long x, y = (long)100;
        Long n = (long)0;
        Scanner sc = new Scanner(System.in);
        x = sc.nextLong();
        while (y < x){
            Long i = y / (long)100;
            n++;
            y += i;
            //System.out.println("kekka" + y);
        }
        System.out.println(n);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Long x, y = (long)100;
        Long n = (long)0;
        Scanner sc = new Scanner(System.in);
        x = sc.nextLong();
        while (y < x){
            Long i = y / (long)100;
            n++;
            y += i;
            //System.out.println("kekka" + y);
        }
        System.out.println(n);
    }
}