import java.util.*;
public class Main
{
  public static void main(String[] args)
  {
    Scanner sc=new Scanner(System.in);
    long a=sc.nextLong();
    int t=0;
    long p=100;
    while(a>p)
    {
      p=p+p/100;
      t++;
    }
      System.out.println(t);
     
  }
} import java.util.*; util.* java public class Main
{
  public static void main(String[] args)
  {
    Scanner sc=new Scanner(System.in);
    long a=sc.nextLong();
    int t=0;
    long p=100;
    while(a>p)
    {
      p=p+p/100;
      t++;
    }
      System.out.println(t);
     
  }
} Main public static void main(String[] args)
  {
    Scanner sc=new Scanner(System.in);
    long a=sc.nextLong();
    int t=0;
    long p=100;
    while(a>p)
    {
      p=p+p/100;
      t++;
    }
      System.out.println(t);
     
  } main {
    Scanner sc=new Scanner(System.in);
    long a=sc.nextLong();
    int t=0;
    long p=100;
    while(a>p)
    {
      p=p+p/100;
      t++;
    }
      System.out.println(t);
     
  } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) long a=sc.nextLong(); a sc.nextLong() sc.nextLong sc int t=0; t 0 long p=100; p 100 while(a>p)
    {
      p=p+p/100;
      t++;
    } a>p a p {
      p=p+p/100;
      t++;
    } p=p+p/100 p p+p/100 p p/100 p 100 t++ t System.out.println(t) System.out.println System.out System System.out t String[] args args public class Main
{
  public static void main(String[] args)
  {
    Scanner sc=new Scanner(System.in);
    long a=sc.nextLong();
    int t=0;
    long p=100;
    while(a>p)
    {
      p=p+p/100;
      t++;
    }
      System.out.println(t);
     
  }
} public class Main
{
  public static void main(String[] args)
  {
    Scanner sc=new Scanner(System.in);
    long a=sc.nextLong();
    int t=0;
    long p=100;
    while(a>p)
    {
      p=p+p/100;
      t++;
    }
      System.out.println(t);
     
  }
} Main
import java.util.*;
public class Main
{
  public static void main(String[] args)
  {
    Scanner sc=new Scanner(System.in);
    long a=sc.nextLong();
    int t=0;
    long p=100;
    while(a>p)
    {
      p=p+p/100;
      t++;
    }
      System.out.println(t);
     
  }
}