import java.util.Arrays;
import java.util.Scanner;
public class Main {

	public static long method(long c){
		long checker = 100;
		for (int i = 0; i < c; i++){
			//checker = (long) Math.floor(checker * (1 + 0.01));
			checker *= 1.01;
		}
		return checker;
	}

	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		long X = Long.parseLong(scan.nextLine());
		long year = 0;
		long head = 0;
		long tail = 3760;
		long center = 0;

		while (head <= tail){
			center = (head + tail) / 2;
			long checker = method(center);
			// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));
			//System.out.println(checker);
			if (checker > X) {
				tail = center - 1;
			}else {
				head = center + 1;
			}
		}

		//System.out.println(head +" "+ center +" "+ tail);

		long[] arr = {head, center, tail};
		Arrays.sort(arr);

		if (X <= method(arr[0])){
			System.out.println(arr[0]);
		}else if (X <= method(arr[1])){
			System.out.println(arr[1]);
		}else if (X <= method(arr[2])){
			System.out.println(arr[2]);
		}
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	public static long method(long c){
		long checker = 100;
		for (int i = 0; i < c; i++){
			//checker = (long) Math.floor(checker * (1 + 0.01));
			checker *= 1.01;
		}
		return checker;
	}

	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		long X = Long.parseLong(scan.nextLine());
		long year = 0;
		long head = 0;
		long tail = 3760;
		long center = 0;

		while (head <= tail){
			center = (head + tail) / 2;
			long checker = method(center);
			// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));
			//System.out.println(checker);
			if (checker > X) {
				tail = center - 1;
			}else {
				head = center + 1;
			}
		}

		//System.out.println(head +" "+ center +" "+ tail);

		long[] arr = {head, center, tail};
		Arrays.sort(arr);

		if (X <= method(arr[0])){
			System.out.println(arr[0]);
		}else if (X <= method(arr[1])){
			System.out.println(arr[1]);
		}else if (X <= method(arr[2])){
			System.out.println(arr[2]);
		}
	}
} Main public static long method(long c){
		long checker = 100;
		for (int i = 0; i < c; i++){
			//checker = (long) Math.floor(checker * (1 + 0.01));
			checker *= 1.01;
		}
		return checker;
	} method {
		long checker = 100;
		for (int i = 0; i < c; i++){
			//checker = (long) Math.floor(checker * (1 + 0.01));
			checker *= 1.01;
		}
		return checker;
	} long checker = 100; checker 100 for (int i = 0; i < c; i++){
			//checker = (long) Math.floor(checker * (1 + 0.01));
			checker *= 1.01;
		} int i = 0; int i = 0; i 0 i < c i c i++ i++ i {
			//checker = (long) Math.floor(checker * (1 + 0.01));
			checker *= 1.01;
		} {
			//checker = (long) Math.floor(checker * (1 + 0.01));
			checker *= 1.01;
		} checker *= 1.01 checker 1.01 return checker; checker long c c public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		long X = Long.parseLong(scan.nextLine());
		long year = 0;
		long head = 0;
		long tail = 3760;
		long center = 0;

		while (head <= tail){
			center = (head + tail) / 2;
			long checker = method(center);
			// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));
			//System.out.println(checker);
			if (checker > X) {
				tail = center - 1;
			}else {
				head = center + 1;
			}
		}

		//System.out.println(head +" "+ center +" "+ tail);

		long[] arr = {head, center, tail};
		Arrays.sort(arr);

		if (X <= method(arr[0])){
			System.out.println(arr[0]);
		}else if (X <= method(arr[1])){
			System.out.println(arr[1]);
		}else if (X <= method(arr[2])){
			System.out.println(arr[2]);
		}
	} main {
		Scanner scan = new Scanner(System.in);
		long X = Long.parseLong(scan.nextLine());
		long year = 0;
		long head = 0;
		long tail = 3760;
		long center = 0;

		while (head <= tail){
			center = (head + tail) / 2;
			long checker = method(center);
			// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));
			//System.out.println(checker);
			if (checker > X) {
				tail = center - 1;
			}else {
				head = center + 1;
			}
		}

		//System.out.println(head +" "+ center +" "+ tail);

		long[] arr = {head, center, tail};
		Arrays.sort(arr);

		if (X <= method(arr[0])){
			System.out.println(arr[0]);
		}else if (X <= method(arr[1])){
			System.out.println(arr[1]);
		}else if (X <= method(arr[2])){
			System.out.println(arr[2]);
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) long X = Long.parseLong(scan.nextLine()); X Long.parseLong(scan.nextLine()) Long.parseLong Long scan.nextLine() scan.nextLine scan long year = 0; year 0 long head = 0; head 0 long tail = 3760; tail 3760 long center = 0; center 0 while (head <= tail){
			center = (head + tail) / 2;
			long checker = method(center);
			// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));
			//System.out.println(checker);
			if (checker > X) {
				tail = center - 1;
			}else {
				head = center + 1;
			}
		} head <= tail head tail {
			center = (head + tail) / 2;
			long checker = method(center);
			// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));
			//System.out.println(checker);
			if (checker > X) {
				tail = center - 1;
			}else {
				head = center + 1;
			}
		} center = (head + tail) / 2 center (head + tail) / 2 (head + tail) head tail 2 long checker = method(center); checker method(center) method center if (checker > X) {
				tail = center - 1;
			}else {
				head = center + 1;
			} checker > X checker X {
				tail = center - 1;
			} tail = center - 1 tail center - 1 center 1 {
				head = center + 1;
			} head = center + 1 head center + 1 center 1 long[] arr = {head, center, tail}; arr {head, center, tail} head center tail Arrays.sort(arr) Arrays.sort Arrays arr if (X <= method(arr[0])){
			System.out.println(arr[0]);
		}else if (X <= method(arr[1])){
			System.out.println(arr[1]);
		}else if (X <= method(arr[2])){
			System.out.println(arr[2]);
		} X <= method(arr[0]) X method(arr[0]) method arr[0] arr 0 {
			System.out.println(arr[0]);
		} System.out.println(arr[0]) System.out.println System.out System System.out arr[0] arr 0 if (X <= method(arr[1])){
			System.out.println(arr[1]);
		}else if (X <= method(arr[2])){
			System.out.println(arr[2]);
		} X <= method(arr[1]) X method(arr[1]) method arr[1] arr 1 {
			System.out.println(arr[1]);
		} System.out.println(arr[1]) System.out.println System.out System System.out arr[1] arr 1 if (X <= method(arr[2])){
			System.out.println(arr[2]);
		} X <= method(arr[2]) X method(arr[2]) method arr[2] arr 2 {
			System.out.println(arr[2]);
		} System.out.println(arr[2]) System.out.println System.out System System.out arr[2] arr 2 String[] args args public class Main {

	public static long method(long c){
		long checker = 100;
		for (int i = 0; i < c; i++){
			//checker = (long) Math.floor(checker * (1 + 0.01));
			checker *= 1.01;
		}
		return checker;
	}

	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		long X = Long.parseLong(scan.nextLine());
		long year = 0;
		long head = 0;
		long tail = 3760;
		long center = 0;

		while (head <= tail){
			center = (head + tail) / 2;
			long checker = method(center);
			// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));
			//System.out.println(checker);
			if (checker > X) {
				tail = center - 1;
			}else {
				head = center + 1;
			}
		}

		//System.out.println(head +" "+ center +" "+ tail);

		long[] arr = {head, center, tail};
		Arrays.sort(arr);

		if (X <= method(arr[0])){
			System.out.println(arr[0]);
		}else if (X <= method(arr[1])){
			System.out.println(arr[1]);
		}else if (X <= method(arr[2])){
			System.out.println(arr[2]);
		}
	}
} public class Main {

	public static long method(long c){
		long checker = 100;
		for (int i = 0; i < c; i++){
			//checker = (long) Math.floor(checker * (1 + 0.01));
			checker *= 1.01;
		}
		return checker;
	}

	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		long X = Long.parseLong(scan.nextLine());
		long year = 0;
		long head = 0;
		long tail = 3760;
		long center = 0;

		while (head <= tail){
			center = (head + tail) / 2;
			long checker = method(center);
			// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));
			//System.out.println(checker);
			if (checker > X) {
				tail = center - 1;
			}else {
				head = center + 1;
			}
		}

		//System.out.println(head +" "+ center +" "+ tail);

		long[] arr = {head, center, tail};
		Arrays.sort(arr);

		if (X <= method(arr[0])){
			System.out.println(arr[0]);
		}else if (X <= method(arr[1])){
			System.out.println(arr[1]);
		}else if (X <= method(arr[2])){
			System.out.println(arr[2]);
		}
	}
} Main
import java.util.Arrays;
import java.util.Scanner;
public class Main {

	public static long method(long c){
		long checker = 100;
		for (int i = 0; i < c; i++){
			//checker = (long) Math.floor(checker * (1 + 0.01));
			checker *= 1.01;
		}
		return checker;
	}

	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		long X = Long.parseLong(scan.nextLine());
		long year = 0;
		long head = 0;
		long tail = 3760;
		long center = 0;

		while (head <= tail){
			center = (head + tail) / 2;
			long checker = method(center);
			// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));
			//System.out.println(checker);
			if (checker > X) {
				tail = center - 1;
			}else {
				head = center + 1;
			}
		}

		//System.out.println(head +" "+ center +" "+ tail);

		long[] arr = {head, center, tail};
		Arrays.sort(arr);

		if (X <= method(arr[0])){
			System.out.println(arr[0]);
		}else if (X <= method(arr[1])){
			System.out.println(arr[1]);
		}else if (X <= method(arr[2])){
			System.out.println(arr[2]);
		}
	}
}