import java.lang.reflect.Array;
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        long nen = 0;
        long yen = 100;
        for (int i = 1; i <= x; i++) {
            yen = (long)(yen * 1.01);
            if (yen >= x) {
                nen = i;
                break;
            }
        }
        System.out.println(nen);
    }
}
 import java.lang.reflect.Array; Array java.lang.reflect import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        long nen = 0;
        long yen = 100;
        for (int i = 1; i <= x; i++) {
            yen = (long)(yen * 1.01);
            if (yen >= x) {
                nen = i;
                break;
            }
        }
        System.out.println(nen);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        long nen = 0;
        long yen = 100;
        for (int i = 1; i <= x; i++) {
            yen = (long)(yen * 1.01);
            if (yen >= x) {
                nen = i;
                break;
            }
        }
        System.out.println(nen);
    } main {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        long nen = 0;
        long yen = 100;
        for (int i = 1; i <= x; i++) {
            yen = (long)(yen * 1.01);
            if (yen >= x) {
                nen = i;
                break;
            }
        }
        System.out.println(nen);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long nen = 0; nen 0 long yen = 100; yen 100 for (int i = 1; i <= x; i++) {
            yen = (long)(yen * 1.01);
            if (yen >= x) {
                nen = i;
                break;
            }
        } int i = 1; int i = 1; i 1 i <= x i x i++ i++ i {
            yen = (long)(yen * 1.01);
            if (yen >= x) {
                nen = i;
                break;
            }
        } {
            yen = (long)(yen * 1.01);
            if (yen >= x) {
                nen = i;
                break;
            }
        } yen = (long)(yen * 1.01) yen (long)(yen * 1.01) yen 1.01 if (yen >= x) {
                nen = i;
                break;
            } yen >= x yen x {
                nen = i;
                break;
            } nen = i nen i break; System.out.println(nen) System.out.println System.out System System.out nen String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        long nen = 0;
        long yen = 100;
        for (int i = 1; i <= x; i++) {
            yen = (long)(yen * 1.01);
            if (yen >= x) {
                nen = i;
                break;
            }
        }
        System.out.println(nen);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        long nen = 0;
        long yen = 100;
        for (int i = 1; i <= x; i++) {
            yen = (long)(yen * 1.01);
            if (yen >= x) {
                nen = i;
                break;
            }
        }
        System.out.println(nen);
    }
} Main
import java.lang.reflect.Array;
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = sc.nextLong();
        long nen = 0;
        long yen = 100;
        for (int i = 1; i <= x; i++) {
            yen = (long)(yen * 1.01);
            if (yen >= x) {
                nen = i;
                break;
            }
        }
        System.out.println(nen);
    }
}

