import java.util.*;
 
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String x = sc.next();
    long xx = Long.parseLong(x);
    long balance = 100;
    long ans = 0;
    while(balance < xx){
      balance = balance + (long)(balance * 0.01);
      ans++;
    }
    System.out.println(ans);
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String x = sc.next();
    long xx = Long.parseLong(x);
    long balance = 100;
    long ans = 0;
    while(balance < xx){
      balance = balance + (long)(balance * 0.01);
      ans++;
    }
    System.out.println(ans);
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String x = sc.next();
    long xx = Long.parseLong(x);
    long balance = 100;
    long ans = 0;
    while(balance < xx){
      balance = balance + (long)(balance * 0.01);
      ans++;
    }
    System.out.println(ans);
  } main {
    Scanner sc = new Scanner(System.in);
    String x = sc.next();
    long xx = Long.parseLong(x);
    long balance = 100;
    long ans = 0;
    while(balance < xx){
      balance = balance + (long)(balance * 0.01);
      ans++;
    }
    System.out.println(ans);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String x = sc.next(); x sc.next() sc.next sc long xx = Long.parseLong(x); xx Long.parseLong(x) Long.parseLong Long x long balance = 100; balance 100 long ans = 0; ans 0 while(balance < xx){
      balance = balance + (long)(balance * 0.01);
      ans++;
    } balance < xx balance xx {
      balance = balance + (long)(balance * 0.01);
      ans++;
    } balance = balance + (long)(balance * 0.01) balance balance + (long)(balance * 0.01) balance (long)(balance * 0.01) balance 0.01 ans++ ans System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String x = sc.next();
    long xx = Long.parseLong(x);
    long balance = 100;
    long ans = 0;
    while(balance < xx){
      balance = balance + (long)(balance * 0.01);
      ans++;
    }
    System.out.println(ans);
  }
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String x = sc.next();
    long xx = Long.parseLong(x);
    long balance = 100;
    long ans = 0;
    while(balance < xx){
      balance = balance + (long)(balance * 0.01);
      ans++;
    }
    System.out.println(ans);
  }
} Main
import java.util.*;
 
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String x = sc.next();
    long xx = Long.parseLong(x);
    long balance = 100;
    long ans = 0;
    while(balance < xx){
      balance = balance + (long)(balance * 0.01);
      ans++;
    }
    System.out.println(ans);
  }
}