import java.util.*;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    long N = sc.nextLong();
    Long price = 100L;
    int year = 0;
    while(price<N){
      price += price/100;
      year++;
    }
    System.out.print(year);
  }
} import java.util.*; util.* java class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    long N = sc.nextLong();
    Long price = 100L;
    int year = 0;
    while(price<N){
      price += price/100;
      year++;
    }
    System.out.print(year);
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    long N = sc.nextLong();
    Long price = 100L;
    int year = 0;
    while(price<N){
      price += price/100;
      year++;
    }
    System.out.print(year);
  } main {
    Scanner sc = new Scanner(System.in);
    long N = sc.nextLong();
    Long price = 100L;
    int year = 0;
    while(price<N){
      price += price/100;
      year++;
    }
    System.out.print(year);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long N = sc.nextLong(); N sc.nextLong() sc.nextLong sc Long price = 100L; price 100L int year = 0; year 0 while(price<N){
      price += price/100;
      year++;
    } price<N price N {
      price += price/100;
      year++;
    } price += price/100 price price/100 price 100 year++ year System.out.print(year) System.out.print System.out System System.out year String[] args args
import java.util.*;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    long N = sc.nextLong();
    Long price = 100L;
    int year = 0;
    while(price<N){
      price += price/100;
      year++;
    }
    System.out.print(year);
  }
}
