
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

public class Main {

  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);
    // 整数の入力
    long x = sc.nextLong();

    int year = 0;
    BigDecimal money = new BigDecimal(100);
    BigDecimal X = new BigDecimal(x);
    while (X.compareTo(money) > 0) {
      money = money.multiply(new BigDecimal("1.01")).setScale(0, RoundingMode.DOWN);
      year++;
    }

    // 出力
    System.out.println(year);
  }
} import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math 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();

    int year = 0;
    BigDecimal money = new BigDecimal(100);
    BigDecimal X = new BigDecimal(x);
    while (X.compareTo(money) > 0) {
      money = money.multiply(new BigDecimal("1.01")).setScale(0, RoundingMode.DOWN);
      year++;
    }

    // 出力
    System.out.println(year);
  }
} Main public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);
    // 整数の入力
    long x = sc.nextLong();

    int year = 0;
    BigDecimal money = new BigDecimal(100);
    BigDecimal X = new BigDecimal(x);
    while (X.compareTo(money) > 0) {
      money = money.multiply(new BigDecimal("1.01")).setScale(0, RoundingMode.DOWN);
      year++;
    }

    // 出力
    System.out.println(year);
  } main {

    Scanner sc = new Scanner(System.in);
    // 整数の入力
    long x = sc.nextLong();

    int year = 0;
    BigDecimal money = new BigDecimal(100);
    BigDecimal X = new BigDecimal(x);
    while (X.compareTo(money) > 0) {
      money = money.multiply(new BigDecimal("1.01")).setScale(0, RoundingMode.DOWN);
      year++;
    }

    // 出力
    System.out.println(year);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc int year = 0; year 0 BigDecimal money = new BigDecimal(100); money new BigDecimal(100) BigDecimal X = new BigDecimal(x); X new BigDecimal(x) while (X.compareTo(money) > 0) {
      money = money.multiply(new BigDecimal("1.01")).setScale(0, RoundingMode.DOWN);
      year++;
    } X.compareTo(money) > 0 X.compareTo(money) X.compareTo X money 0 {
      money = money.multiply(new BigDecimal("1.01")).setScale(0, RoundingMode.DOWN);
      year++;
    } money = money.multiply(new BigDecimal("1.01")).setScale(0, RoundingMode.DOWN) money money.multiply(new BigDecimal("1.01")).setScale(0, RoundingMode.DOWN) money.multiply(new BigDecimal("1.01")).setScale money.multiply(new BigDecimal("1.01")) money.multiply money new BigDecimal("1.01") 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN 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 sc = new Scanner(System.in);
    // 整数の入力
    long x = sc.nextLong();

    int year = 0;
    BigDecimal money = new BigDecimal(100);
    BigDecimal X = new BigDecimal(x);
    while (X.compareTo(money) > 0) {
      money = money.multiply(new BigDecimal("1.01")).setScale(0, RoundingMode.DOWN);
      year++;
    }

    // 出力
    System.out.println(year);
  }
} public class Main {

  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);
    // 整数の入力
    long x = sc.nextLong();

    int year = 0;
    BigDecimal money = new BigDecimal(100);
    BigDecimal X = new BigDecimal(x);
    while (X.compareTo(money) > 0) {
      money = money.multiply(new BigDecimal("1.01")).setScale(0, RoundingMode.DOWN);
      year++;
    }

    // 出力
    System.out.println(year);
  }
} Main

import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

public class Main {

  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);
    // 整数の入力
    long x = sc.nextLong();

    int year = 0;
    BigDecimal money = new BigDecimal(100);
    BigDecimal X = new BigDecimal(x);
    while (X.compareTo(money) > 0) {
      money = money.multiply(new BigDecimal("1.01")).setScale(0, RoundingMode.DOWN);
      year++;
    }

    // 出力
    System.out.println(year);
  }
}
