import java.util.*;
public class Main{
  public static void main(String []args){
    Scanner sc=new Scanner(System.in);
    double t=100;
    int sum=0;
    long k=sc.nextLong();
    while(t<k){
      t= t+Math.floor(t*0.01);
      sum++;
    }
    System.out.println(sum);
  }
} import java.util.*; util.* java public class Main{
  public static void main(String []args){
    Scanner sc=new Scanner(System.in);
    double t=100;
    int sum=0;
    long k=sc.nextLong();
    while(t<k){
      t= t+Math.floor(t*0.01);
      sum++;
    }
    System.out.println(sum);
  }
} Main public static void main(String []args){
    Scanner sc=new Scanner(System.in);
    double t=100;
    int sum=0;
    long k=sc.nextLong();
    while(t<k){
      t= t+Math.floor(t*0.01);
      sum++;
    }
    System.out.println(sum);
  } main {
    Scanner sc=new Scanner(System.in);
    double t=100;
    int sum=0;
    long k=sc.nextLong();
    while(t<k){
      t= t+Math.floor(t*0.01);
      sum++;
    }
    System.out.println(sum);
  } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) double t=100; t 100 int sum=0; sum 0 long k=sc.nextLong(); k sc.nextLong() sc.nextLong sc while(t<k){
      t= t+Math.floor(t*0.01);
      sum++;
    } t<k t k {
      t= t+Math.floor(t*0.01);
      sum++;
    } t= t+Math.floor(t*0.01) t t+Math.floor(t*0.01) t Math.floor(t*0.01) Math.floor Math t*0.01 t 0.01 sum++ sum System.out.println(sum) System.out.println System.out System System.out sum String []args args public class Main{
  public static void main(String []args){
    Scanner sc=new Scanner(System.in);
    double t=100;
    int sum=0;
    long k=sc.nextLong();
    while(t<k){
      t= t+Math.floor(t*0.01);
      sum++;
    }
    System.out.println(sum);
  }
} public class Main{
  public static void main(String []args){
    Scanner sc=new Scanner(System.in);
    double t=100;
    int sum=0;
    long k=sc.nextLong();
    while(t<k){
      t= t+Math.floor(t*0.01);
      sum++;
    }
    System.out.println(sum);
  }
} Main
import java.util.*;
public class Main{
  public static void main(String []args){
    Scanner sc=new Scanner(System.in);
    double t=100;
    int sum=0;
    long k=sc.nextLong();
    while(t<k){
      t= t+Math.floor(t*0.01);
      sum++;
    }
    System.out.println(sum);
  }
}
