import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long deposit = 100;
        int year = 0;
        
        while (true) {
            year++;
            deposit += deposit * 0.01;
            if (X <= deposit) {
                break;
            }
        }
        
        System.out.println(year);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long deposit = 100;
        int year = 0;
        
        while (true) {
            year++;
            deposit += deposit * 0.01;
            if (X <= deposit) {
                break;
            }
        }
        
        System.out.println(year);
    }
} Main public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long deposit = 100;
        int year = 0;
        
        while (true) {
            year++;
            deposit += deposit * 0.01;
            if (X <= deposit) {
                break;
            }
        }
        
        System.out.println(year);
    } main {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long deposit = 100;
        int year = 0;
        
        while (true) {
            year++;
            deposit += deposit * 0.01;
            if (X <= deposit) {
                break;
            }
        }
        
        System.out.println(year);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long X = sc.nextLong(); X sc.nextLong() sc.nextLong sc long deposit = 100; deposit 100 int year = 0; year 0 while (true) {
            year++;
            deposit += deposit * 0.01;
            if (X <= deposit) {
                break;
            }
        } true {
            year++;
            deposit += deposit * 0.01;
            if (X <= deposit) {
                break;
            }
        } year++ year deposit += deposit * 0.01 deposit deposit * 0.01 deposit 0.01 if (X <= deposit) {
                break;
            } X <= deposit X deposit {
                break;
            } break; System.out.println(year) System.out.println System.out System System.out year String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long deposit = 100;
        int year = 0;
        
        while (true) {
            year++;
            deposit += deposit * 0.01;
            if (X <= deposit) {
                break;
            }
        }
        
        System.out.println(year);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long deposit = 100;
        int year = 0;
        
        while (true) {
            year++;
            deposit += deposit * 0.01;
            if (X <= deposit) {
                break;
            }
        }
        
        System.out.println(year);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long X = sc.nextLong();
        long deposit = 100;
        int year = 0;
        
        while (true) {
            year++;
            deposit += deposit * 0.01;
            if (X <= deposit) {
                break;
            }
        }
        
        System.out.println(year);
    }
}
