import java.util.Scanner;
public class Main {

	//??????????????????????????°
	public static void main(String[] args) {

		int debt = 100000;
		int temp = 0;
		Scanner stdin = new Scanner(System.in);
		int week = stdin.nextInt();

		for(int i = 0; i < week; i++) {

			debt *= 1.05;

			if(debt % 1000 != 0) {

				temp = ((debt / 1000) * 1000 + 1000);
				debt = temp;

			}

		}

		System.out.println(debt);

	}

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

	//??????????????????????????°
	public static void main(String[] args) {

		int debt = 100000;
		int temp = 0;
		Scanner stdin = new Scanner(System.in);
		int week = stdin.nextInt();

		for(int i = 0; i < week; i++) {

			debt *= 1.05;

			if(debt % 1000 != 0) {

				temp = ((debt / 1000) * 1000 + 1000);
				debt = temp;

			}

		}

		System.out.println(debt);

	}

} Main //??????????????????????????°
	public static void main(String[] args) {

		int debt = 100000;
		int temp = 0;
		Scanner stdin = new Scanner(System.in);
		int week = stdin.nextInt();

		for(int i = 0; i < week; i++) {

			debt *= 1.05;

			if(debt % 1000 != 0) {

				temp = ((debt / 1000) * 1000 + 1000);
				debt = temp;

			}

		}

		System.out.println(debt);

	} main {

		int debt = 100000;
		int temp = 0;
		Scanner stdin = new Scanner(System.in);
		int week = stdin.nextInt();

		for(int i = 0; i < week; i++) {

			debt *= 1.05;

			if(debt % 1000 != 0) {

				temp = ((debt / 1000) * 1000 + 1000);
				debt = temp;

			}

		}

		System.out.println(debt);

	} int debt = 100000; debt 100000 int temp = 0; temp 0 Scanner stdin = new Scanner(System.in); stdin new Scanner(System.in) int week = stdin.nextInt(); week stdin.nextInt() stdin.nextInt stdin for(int i = 0; i < week; i++) {

			debt *= 1.05;

			if(debt % 1000 != 0) {

				temp = ((debt / 1000) * 1000 + 1000);
				debt = temp;

			}

		} int i = 0; int i = 0; i 0 i < week i week i++ i++ i {

			debt *= 1.05;

			if(debt % 1000 != 0) {

				temp = ((debt / 1000) * 1000 + 1000);
				debt = temp;

			}

		} {

			debt *= 1.05;

			if(debt % 1000 != 0) {

				temp = ((debt / 1000) * 1000 + 1000);
				debt = temp;

			}

		} debt *= 1.05 debt 1.05 if(debt % 1000 != 0) {

				temp = ((debt / 1000) * 1000 + 1000);
				debt = temp;

			} debt % 1000 != 0 debt % 1000 debt 1000 0 {

				temp = ((debt / 1000) * 1000 + 1000);
				debt = temp;

			} temp = ((debt / 1000) * 1000 + 1000) temp ((debt / 1000) * 1000 + 1000) (debt / 1000) * 1000 (debt / 1000) debt 1000 1000 1000 debt = temp debt temp System.out.println(debt) System.out.println System.out System System.out debt String[] args args public class Main {

	//??????????????????????????°
	public static void main(String[] args) {

		int debt = 100000;
		int temp = 0;
		Scanner stdin = new Scanner(System.in);
		int week = stdin.nextInt();

		for(int i = 0; i < week; i++) {

			debt *= 1.05;

			if(debt % 1000 != 0) {

				temp = ((debt / 1000) * 1000 + 1000);
				debt = temp;

			}

		}

		System.out.println(debt);

	}

} public class Main {

	//??????????????????????????°
	public static void main(String[] args) {

		int debt = 100000;
		int temp = 0;
		Scanner stdin = new Scanner(System.in);
		int week = stdin.nextInt();

		for(int i = 0; i < week; i++) {

			debt *= 1.05;

			if(debt % 1000 != 0) {

				temp = ((debt / 1000) * 1000 + 1000);
				debt = temp;

			}

		}

		System.out.println(debt);

	}

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

	//??????????????????????????°
	public static void main(String[] args) {

		int debt = 100000;
		int temp = 0;
		Scanner stdin = new Scanner(System.in);
		int week = stdin.nextInt();

		for(int i = 0; i < week; i++) {

			debt *= 1.05;

			if(debt % 1000 != 0) {

				temp = ((debt / 1000) * 1000 + 1000);
				debt = temp;

			}

		}

		System.out.println(debt);

	}

}