import java.util.Scanner;

public class Main {

	// ????????????10??????
	public static int LOAN = 100000;

	public static void main(String[] args) {

		// ???????????????
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);
		int input = sc.nextInt();
		double result = LOAN;

		// ?????±??????????¨????
		for (int i = 0; input > i; i++) {

			// ??????????????????
			result = result * 1.05;

			// 1000??§?????????????????\??????????????????
			result = Math.ceil(result / 1000);
			// ?????????????????????
			result = result * 1000;
		}
		System.out.println((int) result);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	// ????????????10??????
	public static int LOAN = 100000;

	public static void main(String[] args) {

		// ???????????????
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);
		int input = sc.nextInt();
		double result = LOAN;

		// ?????±??????????¨????
		for (int i = 0; input > i; i++) {

			// ??????????????????
			result = result * 1.05;

			// 1000??§?????????????????\??????????????????
			result = Math.ceil(result / 1000);
			// ?????????????????????
			result = result * 1000;
		}
		System.out.println((int) result);
	}
} Main // ????????????10??????
	public static int LOAN = 100000; LOAN 100000 public static void main(String[] args) {

		// ???????????????
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);
		int input = sc.nextInt();
		double result = LOAN;

		// ?????±??????????¨????
		for (int i = 0; input > i; i++) {

			// ??????????????????
			result = result * 1.05;

			// 1000??§?????????????????\??????????????????
			result = Math.ceil(result / 1000);
			// ?????????????????????
			result = result * 1000;
		}
		System.out.println((int) result);
	} main {

		// ???????????????
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);
		int input = sc.nextInt();
		double result = LOAN;

		// ?????±??????????¨????
		for (int i = 0; input > i; i++) {

			// ??????????????????
			result = result * 1.05;

			// 1000??§?????????????????\??????????????????
			result = Math.ceil(result / 1000);
			// ?????????????????????
			result = result * 1000;
		}
		System.out.println((int) result);
	} @SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int input = sc.nextInt(); input sc.nextInt() sc.nextInt sc double result = LOAN; result LOAN for (int i = 0; input > i; i++) {

			// ??????????????????
			result = result * 1.05;

			// 1000??§?????????????????\??????????????????
			result = Math.ceil(result / 1000);
			// ?????????????????????
			result = result * 1000;
		} int i = 0; int i = 0; i 0 input > i input i i++ i++ i {

			// ??????????????????
			result = result * 1.05;

			// 1000??§?????????????????\??????????????????
			result = Math.ceil(result / 1000);
			// ?????????????????????
			result = result * 1000;
		} {

			// ??????????????????
			result = result * 1.05;

			// 1000??§?????????????????\??????????????????
			result = Math.ceil(result / 1000);
			// ?????????????????????
			result = result * 1000;
		} result = result * 1.05 result result * 1.05 result 1.05 result = Math.ceil(result / 1000) result Math.ceil(result / 1000) Math.ceil Math result / 1000 result 1000 result = result * 1000 result result * 1000 result 1000 System.out.println((int) result) System.out.println System.out System System.out (int) result String[] args args public class Main {

	// ????????????10??????
	public static int LOAN = 100000;

	public static void main(String[] args) {

		// ???????????????
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);
		int input = sc.nextInt();
		double result = LOAN;

		// ?????±??????????¨????
		for (int i = 0; input > i; i++) {

			// ??????????????????
			result = result * 1.05;

			// 1000??§?????????????????\??????????????????
			result = Math.ceil(result / 1000);
			// ?????????????????????
			result = result * 1000;
		}
		System.out.println((int) result);
	}
} public class Main {

	// ????????????10??????
	public static int LOAN = 100000;

	public static void main(String[] args) {

		// ???????????????
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);
		int input = sc.nextInt();
		double result = LOAN;

		// ?????±??????????¨????
		for (int i = 0; input > i; i++) {

			// ??????????????????
			result = result * 1.05;

			// 1000??§?????????????????\??????????????????
			result = Math.ceil(result / 1000);
			// ?????????????????????
			result = result * 1000;
		}
		System.out.println((int) result);
	}
} Main
import java.util.Scanner;

public class Main {

	// ????????????10??????
	public static int LOAN = 100000;

	public static void main(String[] args) {

		// ???????????????
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);
		int input = sc.nextInt();
		double result = LOAN;

		// ?????±??????????¨????
		for (int i = 0; input > i; i++) {

			// ??????????????????
			result = result * 1.05;

			// 1000??§?????????????????\??????????????????
			result = Math.ceil(result / 1000);
			// ?????????????????????
			result = result * 1000;
		}
		System.out.println((int) result);
	}
}