import java.util.*;
public class Main {
    public static void main(String args[])
    {
        Scanner in = new Scanner(System.in);
        long n = in.nextLong();
        long start = 100;
        int years = 0;
        while(start < n)
        {
            start *= 1.01;
            years++;
        }
        System.out.println(years);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String args[])
    {
        Scanner in = new Scanner(System.in);
        long n = in.nextLong();
        long start = 100;
        int years = 0;
        while(start < n)
        {
            start *= 1.01;
            years++;
        }
        System.out.println(years);
    }
} Main public static void main(String args[])
    {
        Scanner in = new Scanner(System.in);
        long n = in.nextLong();
        long start = 100;
        int years = 0;
        while(start < n)
        {
            start *= 1.01;
            years++;
        }
        System.out.println(years);
    } main {
        Scanner in = new Scanner(System.in);
        long n = in.nextLong();
        long start = 100;
        int years = 0;
        while(start < n)
        {
            start *= 1.01;
            years++;
        }
        System.out.println(years);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) long n = in.nextLong(); n in.nextLong() in.nextLong in long start = 100; start 100 int years = 0; years 0 while(start < n)
        {
            start *= 1.01;
            years++;
        } start < n start n {
            start *= 1.01;
            years++;
        } start *= 1.01 start 1.01 years++ years System.out.println(years) System.out.println System.out System System.out years String args[] args public class Main {
    public static void main(String args[])
    {
        Scanner in = new Scanner(System.in);
        long n = in.nextLong();
        long start = 100;
        int years = 0;
        while(start < n)
        {
            start *= 1.01;
            years++;
        }
        System.out.println(years);
    }
} public class Main {
    public static void main(String args[])
    {
        Scanner in = new Scanner(System.in);
        long n = in.nextLong();
        long start = 100;
        int years = 0;
        while(start < n)
        {
            start *= 1.01;
            years++;
        }
        System.out.println(years);
    }
} Main
import java.util.*;
public class Main {
    public static void main(String args[])
    {
        Scanner in = new Scanner(System.in);
        long n = in.nextLong();
        long start = 100;
        int years = 0;
        while(start < n)
        {
            start *= 1.01;
            years++;
        }
        System.out.println(years);
    }
}
