import java.util.Scanner;
public class Main{
  public static void main (String args[]){
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    System.out.print(Logic.run(x));
  }
}
class Logic{
  public static int run(long x){
    int res = 0;
    long money = 100;
    while ( money < x ){
      money*=1.01;
      res++;
    }
    return res;
  }
} import java.util.Scanner; Scanner java.util public class Main{
  public static void main (String args[]){
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    System.out.print(Logic.run(x));
  }
} Main public static void main (String args[]){
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    System.out.print(Logic.run(x));
  } main {
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    System.out.print(Logic.run(x));
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc System.out.print(Logic.run(x)) System.out.print System.out System System.out Logic.run(x) Logic.run Logic x String args[] args class Logic{
  public static int run(long x){
    int res = 0;
    long money = 100;
    while ( money < x ){
      money*=1.01;
      res++;
    }
    return res;
  }
} Logic public static int run(long x){
    int res = 0;
    long money = 100;
    while ( money < x ){
      money*=1.01;
      res++;
    }
    return res;
  } run {
    int res = 0;
    long money = 100;
    while ( money < x ){
      money*=1.01;
      res++;
    }
    return res;
  } int res = 0; res 0 long money = 100; money 100 while ( money < x ){
      money*=1.01;
      res++;
    } money < x money x {
      money*=1.01;
      res++;
    } money*=1.01 money 1.01 res++ res return res; res long x x public class Main{
  public static void main (String args[]){
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    System.out.print(Logic.run(x));
  }
} public class Main{
  public static void main (String args[]){
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    System.out.print(Logic.run(x));
  }
} Main
import java.util.Scanner;
public class Main{
  public static void main (String args[]){
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    System.out.print(Logic.run(x));
  }
}
class Logic{
  public static int run(long x){
    int res = 0;
    long money = 100;
    while ( money < x ){
      money*=1.01;
      res++;
    }
    return res;
  }
}