import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = Long.parseLong(sc.next());
        long deposit = 100;
        int yearCount = 0;
        
        while(deposit < x){
            deposit += Math.floor(deposit*0.01);
            yearCount++;
        }
        
        System.out.println(yearCount);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = Long.parseLong(sc.next());
        long deposit = 100;
        int yearCount = 0;
        
        while(deposit < x){
            deposit += Math.floor(deposit*0.01);
            yearCount++;
        }
        
        System.out.println(yearCount);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = Long.parseLong(sc.next());
        long deposit = 100;
        int yearCount = 0;
        
        while(deposit < x){
            deposit += Math.floor(deposit*0.01);
            yearCount++;
        }
        
        System.out.println(yearCount);
    } main {
        Scanner sc = new Scanner(System.in);
        long x = Long.parseLong(sc.next());
        long deposit = 100;
        int yearCount = 0;
        
        while(deposit < x){
            deposit += Math.floor(deposit*0.01);
            yearCount++;
        }
        
        System.out.println(yearCount);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long x = Long.parseLong(sc.next()); x Long.parseLong(sc.next()) Long.parseLong Long sc.next() sc.next sc long deposit = 100; deposit 100 int yearCount = 0; yearCount 0 while(deposit < x){
            deposit += Math.floor(deposit*0.01);
            yearCount++;
        } deposit < x deposit x {
            deposit += Math.floor(deposit*0.01);
            yearCount++;
        } deposit += Math.floor(deposit*0.01) deposit Math.floor(deposit*0.01) Math.floor Math deposit*0.01 deposit 0.01 yearCount++ yearCount System.out.println(yearCount) System.out.println System.out System System.out yearCount String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = Long.parseLong(sc.next());
        long deposit = 100;
        int yearCount = 0;
        
        while(deposit < x){
            deposit += Math.floor(deposit*0.01);
            yearCount++;
        }
        
        System.out.println(yearCount);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = Long.parseLong(sc.next());
        long deposit = 100;
        int yearCount = 0;
        
        while(deposit < x){
            deposit += Math.floor(deposit*0.01);
            yearCount++;
        }
        
        System.out.println(yearCount);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long x = Long.parseLong(sc.next());
        long deposit = 100;
        int yearCount = 0;
        
        while(deposit < x){
            deposit += Math.floor(deposit*0.01);
            yearCount++;
        }
        
        System.out.println(yearCount);
    }
}