import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long originalMoney = 100;
    long goalMoney = sc.nextLong();

    int count = 0;
    boolean flg = true;

    while(flg) {
      originalMoney *= 1.01;
      count++;
      if(originalMoney >= goalMoney) {
        flg = false;
        System.out.println(count);
      }
    }
    sc.close();
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long originalMoney = 100;
    long goalMoney = sc.nextLong();

    int count = 0;
    boolean flg = true;

    while(flg) {
      originalMoney *= 1.01;
      count++;
      if(originalMoney >= goalMoney) {
        flg = false;
        System.out.println(count);
      }
    }
    sc.close();
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long originalMoney = 100;
    long goalMoney = sc.nextLong();

    int count = 0;
    boolean flg = true;

    while(flg) {
      originalMoney *= 1.01;
      count++;
      if(originalMoney >= goalMoney) {
        flg = false;
        System.out.println(count);
      }
    }
    sc.close();
  } main {
    Scanner sc = new Scanner(System.in);
    long originalMoney = 100;
    long goalMoney = sc.nextLong();

    int count = 0;
    boolean flg = true;

    while(flg) {
      originalMoney *= 1.01;
      count++;
      if(originalMoney >= goalMoney) {
        flg = false;
        System.out.println(count);
      }
    }
    sc.close();
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long originalMoney = 100; originalMoney 100 long goalMoney = sc.nextLong(); goalMoney sc.nextLong() sc.nextLong sc int count = 0; count 0 boolean flg = true; flg true while(flg) {
      originalMoney *= 1.01;
      count++;
      if(originalMoney >= goalMoney) {
        flg = false;
        System.out.println(count);
      }
    } flg {
      originalMoney *= 1.01;
      count++;
      if(originalMoney >= goalMoney) {
        flg = false;
        System.out.println(count);
      }
    } originalMoney *= 1.01 originalMoney 1.01 count++ count if(originalMoney >= goalMoney) {
        flg = false;
        System.out.println(count);
      } originalMoney >= goalMoney originalMoney goalMoney {
        flg = false;
        System.out.println(count);
      } flg = false flg false System.out.println(count) System.out.println System.out System System.out count sc.close() sc.close sc String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long originalMoney = 100;
    long goalMoney = sc.nextLong();

    int count = 0;
    boolean flg = true;

    while(flg) {
      originalMoney *= 1.01;
      count++;
      if(originalMoney >= goalMoney) {
        flg = false;
        System.out.println(count);
      }
    }
    sc.close();
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long originalMoney = 100;
    long goalMoney = sc.nextLong();

    int count = 0;
    boolean flg = true;

    while(flg) {
      originalMoney *= 1.01;
      count++;
      if(originalMoney >= goalMoney) {
        flg = false;
        System.out.println(count);
      }
    }
    sc.close();
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long originalMoney = 100;
    long goalMoney = sc.nextLong();

    int count = 0;
    boolean flg = true;

    while(flg) {
      originalMoney *= 1.01;
      count++;
      if(originalMoney >= goalMoney) {
        flg = false;
        System.out.println(count);
      }
    }
    sc.close();
  }
}