import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);
        final long RISHI = s.nextLong();
        // int yokin = 100;
        double d_yokin = 100.0;
        int year = 0;

        while (d_yokin < RISHI) {
            d_yokin = Math.floor(d_yokin * 1.01);
            year++;
        }
        System.out.println(year);
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);
        final long RISHI = s.nextLong();
        // int yokin = 100;
        double d_yokin = 100.0;
        int year = 0;

        while (d_yokin < RISHI) {
            d_yokin = Math.floor(d_yokin * 1.01);
            year++;
        }
        System.out.println(year);
  }
} Main public static void main(String[] args) {
    Scanner s = new Scanner(System.in);
        final long RISHI = s.nextLong();
        // int yokin = 100;
        double d_yokin = 100.0;
        int year = 0;

        while (d_yokin < RISHI) {
            d_yokin = Math.floor(d_yokin * 1.01);
            year++;
        }
        System.out.println(year);
  } main {
    Scanner s = new Scanner(System.in);
        final long RISHI = s.nextLong();
        // int yokin = 100;
        double d_yokin = 100.0;
        int year = 0;

        while (d_yokin < RISHI) {
            d_yokin = Math.floor(d_yokin * 1.01);
            year++;
        }
        System.out.println(year);
  } Scanner s = new Scanner(System.in); s new Scanner(System.in) final long RISHI = s.nextLong(); RISHI s.nextLong() s.nextLong s double d_yokin = 100.0; d_yokin 100.0 int year = 0; year 0 while (d_yokin < RISHI) {
            d_yokin = Math.floor(d_yokin * 1.01);
            year++;
        } d_yokin < RISHI d_yokin RISHI {
            d_yokin = Math.floor(d_yokin * 1.01);
            year++;
        } d_yokin = Math.floor(d_yokin * 1.01) d_yokin Math.floor(d_yokin * 1.01) Math.floor Math d_yokin * 1.01 d_yokin 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 s = new Scanner(System.in);
        final long RISHI = s.nextLong();
        // int yokin = 100;
        double d_yokin = 100.0;
        int year = 0;

        while (d_yokin < RISHI) {
            d_yokin = Math.floor(d_yokin * 1.01);
            year++;
        }
        System.out.println(year);
  }
} public class Main {
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);
        final long RISHI = s.nextLong();
        // int yokin = 100;
        double d_yokin = 100.0;
        int year = 0;

        while (d_yokin < RISHI) {
            d_yokin = Math.floor(d_yokin * 1.01);
            year++;
        }
        System.out.println(year);
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);
        final long RISHI = s.nextLong();
        // int yokin = 100;
        double d_yokin = 100.0;
        int year = 0;

        while (d_yokin < RISHI) {
            d_yokin = Math.floor(d_yokin * 1.01);
            year++;
        }
        System.out.println(year);
  }
}