import java.util.*;
import java.io.*;
import java.lang.*;

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

        long x = sc.nextLong();

        long cu = 100;
        long ans = 0;

        while (cu<x){
            cu = cu + (cu/100);
            ans++;
        }
        System.out.println(ans);
    }
} import java.util.*; util.* java import java.io.*; io.* java import java.lang.*; lang.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        long x = sc.nextLong();

        long cu = 100;
        long ans = 0;

        while (cu<x){
            cu = cu + (cu/100);
            ans++;
        }
        System.out.println(ans);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        long x = sc.nextLong();

        long cu = 100;
        long ans = 0;

        while (cu<x){
            cu = cu + (cu/100);
            ans++;
        }
        System.out.println(ans);
    } main {
        Scanner sc = new Scanner(System.in);

        long x = sc.nextLong();

        long cu = 100;
        long ans = 0;

        while (cu<x){
            cu = cu + (cu/100);
            ans++;
        }
        System.out.println(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long cu = 100; cu 100 long ans = 0; ans 0 while (cu<x){
            cu = cu + (cu/100);
            ans++;
        } cu<x cu x {
            cu = cu + (cu/100);
            ans++;
        } cu = cu + (cu/100) cu cu + (cu/100) cu (cu/100) cu 100 ans++ ans System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        long x = sc.nextLong();

        long cu = 100;
        long ans = 0;

        while (cu<x){
            cu = cu + (cu/100);
            ans++;
        }
        System.out.println(ans);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        long x = sc.nextLong();

        long cu = 100;
        long ans = 0;

        while (cu<x){
            cu = cu + (cu/100);
            ans++;
        }
        System.out.println(ans);
    }
} Main
import java.util.*;
import java.io.*;
import java.lang.*;

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

        long x = sc.nextLong();

        long cu = 100;
        long ans = 0;

        while (cu<x){
            cu = cu + (cu/100);
            ans++;
        }
        System.out.println(ans);
    }
}