import java.util.*;
import java.math.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigDecimal X = new BigDecimal(sc.next());
    int ans = 0;
    BigDecimal RATE = BigDecimal.valueOf(1.01);
    BigDecimal deposit = BigDecimal.valueOf(100);
    while (deposit.compareTo(X) < 0) {
      deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);
      ans++;
    }
    System.out.println(ans);
  }
} import java.util.*; util.* java import java.math.*; math.* java class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigDecimal X = new BigDecimal(sc.next());
    int ans = 0;
    BigDecimal RATE = BigDecimal.valueOf(1.01);
    BigDecimal deposit = BigDecimal.valueOf(100);
    while (deposit.compareTo(X) < 0) {
      deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);
      ans++;
    }
    System.out.println(ans);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigDecimal X = new BigDecimal(sc.next());
    int ans = 0;
    BigDecimal RATE = BigDecimal.valueOf(1.01);
    BigDecimal deposit = BigDecimal.valueOf(100);
    while (deposit.compareTo(X) < 0) {
      deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);
      ans++;
    }
    System.out.println(ans);
  } main {
    Scanner sc = new Scanner(System.in);
    BigDecimal X = new BigDecimal(sc.next());
    int ans = 0;
    BigDecimal RATE = BigDecimal.valueOf(1.01);
    BigDecimal deposit = BigDecimal.valueOf(100);
    while (deposit.compareTo(X) < 0) {
      deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);
      ans++;
    }
    System.out.println(ans);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) BigDecimal X = new BigDecimal(sc.next()); X new BigDecimal(sc.next()) int ans = 0; ans 0 BigDecimal RATE = BigDecimal.valueOf(1.01); RATE BigDecimal.valueOf(1.01) BigDecimal.valueOf BigDecimal 1.01 BigDecimal deposit = BigDecimal.valueOf(100); deposit BigDecimal.valueOf(100) BigDecimal.valueOf BigDecimal 100 while (deposit.compareTo(X) < 0) {
      deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);
      ans++;
    } deposit.compareTo(X) < 0 deposit.compareTo(X) deposit.compareTo deposit X 0 {
      deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);
      ans++;
    } deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN) deposit deposit.multiply(RATE).setScale(0, RoundingMode.DOWN) deposit.multiply(RATE).setScale deposit.multiply(RATE) deposit.multiply deposit RATE 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN ans++ ans System.out.println(ans) System.out.println System.out System System.out ans String[] args args
import java.util.*;
import java.math.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigDecimal X = new BigDecimal(sc.next());
    int ans = 0;
    BigDecimal RATE = BigDecimal.valueOf(1.01);
    BigDecimal deposit = BigDecimal.valueOf(100);
    while (deposit.compareTo(X) < 0) {
      deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);
      ans++;
    }
    System.out.println(ans);
  }
}