import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Scanner;

public class  Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String K = (sc.next());
		BigDecimal X = new BigDecimal(K);
		BigInteger t = BigInteger.valueOf(100);
		BigDecimal T = new BigDecimal(t);
		int year = 1;
		while ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {
			t = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();
			T = new BigDecimal(t);
			year++;
		}
		System.out.println(year);
	}
} import java.math.BigDecimal; BigDecimal java.math import java.math.BigInteger; BigInteger java.math import java.util.Scanner; Scanner java.util public class  Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String K = (sc.next());
		BigDecimal X = new BigDecimal(K);
		BigInteger t = BigInteger.valueOf(100);
		BigDecimal T = new BigDecimal(t);
		int year = 1;
		while ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {
			t = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();
			T = new BigDecimal(t);
			year++;
		}
		System.out.println(year);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String K = (sc.next());
		BigDecimal X = new BigDecimal(K);
		BigInteger t = BigInteger.valueOf(100);
		BigDecimal T = new BigDecimal(t);
		int year = 1;
		while ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {
			t = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();
			T = new BigDecimal(t);
			year++;
		}
		System.out.println(year);
	} main {
		Scanner sc = new Scanner(System.in);
		String K = (sc.next());
		BigDecimal X = new BigDecimal(K);
		BigInteger t = BigInteger.valueOf(100);
		BigDecimal T = new BigDecimal(t);
		int year = 1;
		while ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {
			t = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();
			T = new BigDecimal(t);
			year++;
		}
		System.out.println(year);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String K = (sc.next()); K (sc.next()) sc.next sc BigDecimal X = new BigDecimal(K); X new BigDecimal(K) BigInteger t = BigInteger.valueOf(100); t BigInteger.valueOf(100) BigInteger.valueOf BigInteger 100 BigDecimal T = new BigDecimal(t); T new BigDecimal(t) int year = 1; year 1 while ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {
			t = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();
			T = new BigDecimal(t);
			year++;
		} (T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1 (T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) (T.multiply(BigDecimal.valueOf(1.01))).compareTo (T.multiply(BigDecimal.valueOf(1.01))) T.multiply T BigDecimal.valueOf(1.01) BigDecimal.valueOf BigDecimal 1.01 X -1 1 {
			t = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();
			T = new BigDecimal(t);
			year++;
		} t = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger() t (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger() (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger (T.multiply(BigDecimal.valueOf(1.01))) T.multiply T BigDecimal.valueOf(1.01) BigDecimal.valueOf BigDecimal 1.01 T = new BigDecimal(t) T new BigDecimal(t) 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 sc = new Scanner(System.in);
		String K = (sc.next());
		BigDecimal X = new BigDecimal(K);
		BigInteger t = BigInteger.valueOf(100);
		BigDecimal T = new BigDecimal(t);
		int year = 1;
		while ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {
			t = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();
			T = new BigDecimal(t);
			year++;
		}
		System.out.println(year);
	}
} public class  Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String K = (sc.next());
		BigDecimal X = new BigDecimal(K);
		BigInteger t = BigInteger.valueOf(100);
		BigDecimal T = new BigDecimal(t);
		int year = 1;
		while ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {
			t = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();
			T = new BigDecimal(t);
			year++;
		}
		System.out.println(year);
	}
} Main
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Scanner;

public class  Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String K = (sc.next());
		BigDecimal X = new BigDecimal(K);
		BigInteger t = BigInteger.valueOf(100);
		BigDecimal T = new BigDecimal(t);
		int year = 1;
		while ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {
			t = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();
			T = new BigDecimal(t);
			year++;
		}
		System.out.println(year);
	}
}
