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

public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		BigDecimal X = sc.nextBigDecimal();
        BigDecimal a = new BigDecimal("100");
        BigDecimal b = new BigDecimal("1.01");
        int i = 0;
        while (true) {
          a = a.multiply(b);
          a = a.setScale(0,BigDecimal.ROUND_DOWN);
          i++;
          if (a.compareTo(X) >= 0) {
            System.out.println(i);
            break;
            }
        }
	}
} import java.util.*; util.* java import java.math.BigDecimal; BigDecimal java.math public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		BigDecimal X = sc.nextBigDecimal();
        BigDecimal a = new BigDecimal("100");
        BigDecimal b = new BigDecimal("1.01");
        int i = 0;
        while (true) {
          a = a.multiply(b);
          a = a.setScale(0,BigDecimal.ROUND_DOWN);
          i++;
          if (a.compareTo(X) >= 0) {
            System.out.println(i);
            break;
            }
        }
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		BigDecimal X = sc.nextBigDecimal();
        BigDecimal a = new BigDecimal("100");
        BigDecimal b = new BigDecimal("1.01");
        int i = 0;
        while (true) {
          a = a.multiply(b);
          a = a.setScale(0,BigDecimal.ROUND_DOWN);
          i++;
          if (a.compareTo(X) >= 0) {
            System.out.println(i);
            break;
            }
        }
	} main {
		Scanner sc = new Scanner(System.in);
		BigDecimal X = sc.nextBigDecimal();
        BigDecimal a = new BigDecimal("100");
        BigDecimal b = new BigDecimal("1.01");
        int i = 0;
        while (true) {
          a = a.multiply(b);
          a = a.setScale(0,BigDecimal.ROUND_DOWN);
          i++;
          if (a.compareTo(X) >= 0) {
            System.out.println(i);
            break;
            }
        }
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) BigDecimal X = sc.nextBigDecimal(); X sc.nextBigDecimal() sc.nextBigDecimal sc BigDecimal a = new BigDecimal("100"); a new BigDecimal("100") BigDecimal b = new BigDecimal("1.01"); b new BigDecimal("1.01") int i = 0; i 0 while (true) {
          a = a.multiply(b);
          a = a.setScale(0,BigDecimal.ROUND_DOWN);
          i++;
          if (a.compareTo(X) >= 0) {
            System.out.println(i);
            break;
            }
        } true {
          a = a.multiply(b);
          a = a.setScale(0,BigDecimal.ROUND_DOWN);
          i++;
          if (a.compareTo(X) >= 0) {
            System.out.println(i);
            break;
            }
        } a = a.multiply(b) a a.multiply(b) a.multiply a b a = a.setScale(0,BigDecimal.ROUND_DOWN) a a.setScale(0,BigDecimal.ROUND_DOWN) a.setScale a 0 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN i++ i if (a.compareTo(X) >= 0) {
            System.out.println(i);
            break;
            } a.compareTo(X) >= 0 a.compareTo(X) a.compareTo a X 0 {
            System.out.println(i);
            break;
            } System.out.println(i) System.out.println System.out System System.out i break; String[] args args public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		BigDecimal X = sc.nextBigDecimal();
        BigDecimal a = new BigDecimal("100");
        BigDecimal b = new BigDecimal("1.01");
        int i = 0;
        while (true) {
          a = a.multiply(b);
          a = a.setScale(0,BigDecimal.ROUND_DOWN);
          i++;
          if (a.compareTo(X) >= 0) {
            System.out.println(i);
            break;
            }
        }
	}
} public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		BigDecimal X = sc.nextBigDecimal();
        BigDecimal a = new BigDecimal("100");
        BigDecimal b = new BigDecimal("1.01");
        int i = 0;
        while (true) {
          a = a.multiply(b);
          a = a.setScale(0,BigDecimal.ROUND_DOWN);
          i++;
          if (a.compareTo(X) >= 0) {
            System.out.println(i);
            break;
            }
        }
	}
} Main
import java.util.*;
import java.math.BigDecimal;

public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		BigDecimal X = sc.nextBigDecimal();
        BigDecimal a = new BigDecimal("100");
        BigDecimal b = new BigDecimal("1.01");
        int i = 0;
        while (true) {
          a = a.multiply(b);
          a = a.setScale(0,BigDecimal.ROUND_DOWN);
          i++;
          if (a.compareTo(X) >= 0) {
            System.out.println(i);
            break;
            }
        }
	}
}