import java.util.*;
public class Main
{
    public static void main(String args[])
    {
        Scanner in=new Scanner(System.in);
        long x,a=100,c=0,d;
        x=in.nextLong();
        while(a<x)
        {
            d=(a*1)/100;
            a=a+d;
            c=c+1;
        }
        System.out.println(c);
    }
}
 import java.util.*; util.* java public class Main
{
    public static void main(String args[])
    {
        Scanner in=new Scanner(System.in);
        long x,a=100,c=0,d;
        x=in.nextLong();
        while(a<x)
        {
            d=(a*1)/100;
            a=a+d;
            c=c+1;
        }
        System.out.println(c);
    }
} Main public static void main(String args[])
    {
        Scanner in=new Scanner(System.in);
        long x,a=100,c=0,d;
        x=in.nextLong();
        while(a<x)
        {
            d=(a*1)/100;
            a=a+d;
            c=c+1;
        }
        System.out.println(c);
    } main {
        Scanner in=new Scanner(System.in);
        long x,a=100,c=0,d;
        x=in.nextLong();
        while(a<x)
        {
            d=(a*1)/100;
            a=a+d;
            c=c+1;
        }
        System.out.println(c);
    } Scanner in=new Scanner(System.in); in new Scanner(System.in) long x x a=100 a 100 c=0 c 0 d; d x=in.nextLong() x in.nextLong() in.nextLong in while(a<x)
        {
            d=(a*1)/100;
            a=a+d;
            c=c+1;
        } a<x a x {
            d=(a*1)/100;
            a=a+d;
            c=c+1;
        } d=(a*1)/100 d (a*1)/100 (a*1) a 1 100 a=a+d a a+d a d c=c+1 c c+1 c 1 System.out.println(c) System.out.println System.out System System.out c String args[] args public class Main
{
    public static void main(String args[])
    {
        Scanner in=new Scanner(System.in);
        long x,a=100,c=0,d;
        x=in.nextLong();
        while(a<x)
        {
            d=(a*1)/100;
            a=a+d;
            c=c+1;
        }
        System.out.println(c);
    }
} public class Main
{
    public static void main(String args[])
    {
        Scanner in=new Scanner(System.in);
        long x,a=100,c=0,d;
        x=in.nextLong();
        while(a<x)
        {
            d=(a*1)/100;
            a=a+d;
            c=c+1;
        }
        System.out.println(c);
    }
} Main
import java.util.*;
public class Main
{
    public static void main(String args[])
    {
        Scanner in=new Scanner(System.in);
        long x,a=100,c=0,d;
        x=in.nextLong();
        while(a<x)
        {
            d=(a*1)/100;
            a=a+d;
            c=c+1;
        }
        System.out.println(c);
    }
}

