import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    long X = scan.nextLong();
    scan.close();

    int year = 0;
    long Y = 100;
    while(Y < X) {
      Y *= 1.01;
      year++;
    }
    System.out.println(year);
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    long X = scan.nextLong();
    scan.close();

    int year = 0;
    long Y = 100;
    while(Y < X) {
      Y *= 1.01;
      year++;
    }
    System.out.println(year);
  }
} Main public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    long X = scan.nextLong();
    scan.close();

    int year = 0;
    long Y = 100;
    while(Y < X) {
      Y *= 1.01;
      year++;
    }
    System.out.println(year);
  } main {
    Scanner scan = new Scanner(System.in);
    long X = scan.nextLong();
    scan.close();

    int year = 0;
    long Y = 100;
    while(Y < X) {
      Y *= 1.01;
      year++;
    }
    System.out.println(year);
  } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) long X = scan.nextLong(); X scan.nextLong() scan.nextLong scan scan.close() scan.close scan int year = 0; year 0 long Y = 100; Y 100 while(Y < X) {
      Y *= 1.01;
      year++;
    } Y < X Y X {
      Y *= 1.01;
      year++;
    } Y *= 1.01 Y 1.01 year++ year System.out.println(year) System.out.println System.out System System.out year String[] args args public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    long X = scan.nextLong();
    scan.close();

    int year = 0;
    long Y = 100;
    while(Y < X) {
      Y *= 1.01;
      year++;
    }
    System.out.println(year);
  }
} public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    long X = scan.nextLong();
    scan.close();

    int year = 0;
    long Y = 100;
    while(Y < X) {
      Y *= 1.01;
      year++;
    }
    System.out.println(year);
  }
} Main
import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    long X = scan.nextLong();
    scan.close();

    int year = 0;
    long Y = 100;
    while(Y < X) {
      Y *= 1.01;
      year++;
    }
    System.out.println(year);
  }
}