
import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    long money = 100;
    long year = 0;
    while (true) {
      money = (long)(money * 1.01);
      year++;
      if (money >= x) {
        break;
      }
    }
    System.out.println(year);
  }
} 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();
    long money = 100;
    long year = 0;
    while (true) {
      money = (long)(money * 1.01);
      year++;
      if (money >= x) {
        break;
      }
    }
    System.out.println(year);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    long money = 100;
    long year = 0;
    while (true) {
      money = (long)(money * 1.01);
      year++;
      if (money >= x) {
        break;
      }
    }
    System.out.println(year);
  } main {
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    long money = 100;
    long year = 0;
    while (true) {
      money = (long)(money * 1.01);
      year++;
      if (money >= x) {
        break;
      }
    }
    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 long money = 100; money 100 long year = 0; year 0 while (true) {
      money = (long)(money * 1.01);
      year++;
      if (money >= x) {
        break;
      }
    } true {
      money = (long)(money * 1.01);
      year++;
      if (money >= x) {
        break;
      }
    } money = (long)(money * 1.01) money (long)(money * 1.01) money 1.01 year++ year if (money >= x) {
        break;
      } money >= x money x {
        break;
      } break; 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();
    long money = 100;
    long year = 0;
    while (true) {
      money = (long)(money * 1.01);
      year++;
      if (money >= x) {
        break;
      }
    }
    System.out.println(year);
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    long money = 100;
    long year = 0;
    while (true) {
      money = (long)(money * 1.01);
      year++;
      if (money >= x) {
        break;
      }
    }
    System.out.println(year);
  }
} Main

import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    long money = 100;
    long year = 0;
    while (true) {
      money = (long)(money * 1.01);
      year++;
      if (money >= x) {
        break;
      }
    }
    System.out.println(year);
  }
}
