import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
	public static void main(String[] args) throws IOException {
		// ?¨??????????
		int result = 100000;
		// ?????????????¨??????¨???
		int roundup = 1000;
		// ??????
		double rate = 0.05;

		// ????????±??°
		int n = Integer.parseInt(new BufferedReader(new InputStreamReader(
				System.in), 64).readLine());

		// n??±???????????????????¨????
		// 0??±??????????¨????????????¨???
		if (n != 0) {
			for (int i = 0; i < n; i++) {
				result = (int) (result + (result * rate));
				if ((result % roundup) != 0) {
					result = ((int) (result / roundup) + 1) * roundup;
				}
			}
		}
		System.out.println(result);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
	public static void main(String[] args) throws IOException {
		// ?¨??????????
		int result = 100000;
		// ?????????????¨??????¨???
		int roundup = 1000;
		// ??????
		double rate = 0.05;

		// ????????±??°
		int n = Integer.parseInt(new BufferedReader(new InputStreamReader(
				System.in), 64).readLine());

		// n??±???????????????????¨????
		// 0??±??????????¨????????????¨???
		if (n != 0) {
			for (int i = 0; i < n; i++) {
				result = (int) (result + (result * rate));
				if ((result % roundup) != 0) {
					result = ((int) (result / roundup) + 1) * roundup;
				}
			}
		}
		System.out.println(result);
	}
} Main public static void main(String[] args) throws IOException {
		// ?¨??????????
		int result = 100000;
		// ?????????????¨??????¨???
		int roundup = 1000;
		// ??????
		double rate = 0.05;

		// ????????±??°
		int n = Integer.parseInt(new BufferedReader(new InputStreamReader(
				System.in), 64).readLine());

		// n??±???????????????????¨????
		// 0??±??????????¨????????????¨???
		if (n != 0) {
			for (int i = 0; i < n; i++) {
				result = (int) (result + (result * rate));
				if ((result % roundup) != 0) {
					result = ((int) (result / roundup) + 1) * roundup;
				}
			}
		}
		System.out.println(result);
	} main {
		// ?¨??????????
		int result = 100000;
		// ?????????????¨??????¨???
		int roundup = 1000;
		// ??????
		double rate = 0.05;

		// ????????±??°
		int n = Integer.parseInt(new BufferedReader(new InputStreamReader(
				System.in), 64).readLine());

		// n??±???????????????????¨????
		// 0??±??????????¨????????????¨???
		if (n != 0) {
			for (int i = 0; i < n; i++) {
				result = (int) (result + (result * rate));
				if ((result % roundup) != 0) {
					result = ((int) (result / roundup) + 1) * roundup;
				}
			}
		}
		System.out.println(result);
	} int result = 100000; result 100000 int roundup = 1000; roundup 1000 double rate = 0.05; rate 0.05 int n = Integer.parseInt(new BufferedReader(new InputStreamReader(
				System.in), 64).readLine()); n Integer.parseInt(new BufferedReader(new InputStreamReader(
				System.in), 64).readLine()) Integer.parseInt Integer new BufferedReader(new InputStreamReader(
				System.in), 64).readLine() new BufferedReader(new InputStreamReader(
				System.in), 64).readLine new BufferedReader(new InputStreamReader(
				System.in), 64) if (n != 0) {
			for (int i = 0; i < n; i++) {
				result = (int) (result + (result * rate));
				if ((result % roundup) != 0) {
					result = ((int) (result / roundup) + 1) * roundup;
				}
			}
		} n != 0 n 0 {
			for (int i = 0; i < n; i++) {
				result = (int) (result + (result * rate));
				if ((result % roundup) != 0) {
					result = ((int) (result / roundup) + 1) * roundup;
				}
			}
		} for (int i = 0; i < n; i++) {
				result = (int) (result + (result * rate));
				if ((result % roundup) != 0) {
					result = ((int) (result / roundup) + 1) * roundup;
				}
			} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
				result = (int) (result + (result * rate));
				if ((result % roundup) != 0) {
					result = ((int) (result / roundup) + 1) * roundup;
				}
			} {
				result = (int) (result + (result * rate));
				if ((result % roundup) != 0) {
					result = ((int) (result / roundup) + 1) * roundup;
				}
			} result = (int) (result + (result * rate)) result (int) (result + (result * rate)) result (result * rate) result rate if ((result % roundup) != 0) {
					result = ((int) (result / roundup) + 1) * roundup;
				} (result % roundup) != 0 (result % roundup) result roundup 0 {
					result = ((int) (result / roundup) + 1) * roundup;
				} result = ((int) (result / roundup) + 1) * roundup result ((int) (result / roundup) + 1) * roundup ((int) (result / roundup) + 1) (int) (result / roundup) result roundup 1 roundup System.out.println(result) System.out.println System.out System System.out result String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
	public static void main(String[] args) throws IOException {
		// ?¨??????????
		int result = 100000;
		// ?????????????¨??????¨???
		int roundup = 1000;
		// ??????
		double rate = 0.05;

		// ????????±??°
		int n = Integer.parseInt(new BufferedReader(new InputStreamReader(
				System.in), 64).readLine());

		// n??±???????????????????¨????
		// 0??±??????????¨????????????¨???
		if (n != 0) {
			for (int i = 0; i < n; i++) {
				result = (int) (result + (result * rate));
				if ((result % roundup) != 0) {
					result = ((int) (result / roundup) + 1) * roundup;
				}
			}
		}
		System.out.println(result);
	}
}