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

public class Main {

	public static void main(String[] args) throws NumberFormatException,
			IOException {

		// ?????????
		int debt = 100000;

		// n??±???
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int n = Integer.parseInt(br.readLine());

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

			debt *= 1.05;

			if (debt % 1000 != 0) {
				StringBuilder sb = new StringBuilder(String.valueOf(debt));

				int count = sb.length();
				sb.delete(count-3, count);
				sb.append("000");
				debt = Integer.parseInt(sb.toString());
				debt += 1000;
			}

		}
		System.out.println(debt);

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws NumberFormatException,
			IOException {

		// ?????????
		int debt = 100000;

		// n??±???
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int n = Integer.parseInt(br.readLine());

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

			debt *= 1.05;

			if (debt % 1000 != 0) {
				StringBuilder sb = new StringBuilder(String.valueOf(debt));

				int count = sb.length();
				sb.delete(count-3, count);
				sb.append("000");
				debt = Integer.parseInt(sb.toString());
				debt += 1000;
			}

		}
		System.out.println(debt);

	}
} Main public static void main(String[] args) throws NumberFormatException,
			IOException {

		// ?????????
		int debt = 100000;

		// n??±???
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int n = Integer.parseInt(br.readLine());

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

			debt *= 1.05;

			if (debt % 1000 != 0) {
				StringBuilder sb = new StringBuilder(String.valueOf(debt));

				int count = sb.length();
				sb.delete(count-3, count);
				sb.append("000");
				debt = Integer.parseInt(sb.toString());
				debt += 1000;
			}

		}
		System.out.println(debt);

	} main {

		// ?????????
		int debt = 100000;

		// n??±???
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int n = Integer.parseInt(br.readLine());

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

			debt *= 1.05;

			if (debt % 1000 != 0) {
				StringBuilder sb = new StringBuilder(String.valueOf(debt));

				int count = sb.length();
				sb.delete(count-3, count);
				sb.append("000");
				debt = Integer.parseInt(sb.toString());
				debt += 1000;
			}

		}
		System.out.println(debt);

	} int debt = 100000; debt 100000 InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br for (int i = 0; i < n; ++i) {

			debt *= 1.05;

			if (debt % 1000 != 0) {
				StringBuilder sb = new StringBuilder(String.valueOf(debt));

				int count = sb.length();
				sb.delete(count-3, count);
				sb.append("000");
				debt = Integer.parseInt(sb.toString());
				debt += 1000;
			}

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

			debt *= 1.05;

			if (debt % 1000 != 0) {
				StringBuilder sb = new StringBuilder(String.valueOf(debt));

				int count = sb.length();
				sb.delete(count-3, count);
				sb.append("000");
				debt = Integer.parseInt(sb.toString());
				debt += 1000;
			}

		} {

			debt *= 1.05;

			if (debt % 1000 != 0) {
				StringBuilder sb = new StringBuilder(String.valueOf(debt));

				int count = sb.length();
				sb.delete(count-3, count);
				sb.append("000");
				debt = Integer.parseInt(sb.toString());
				debt += 1000;
			}

		} debt *= 1.05 debt 1.05 if (debt % 1000 != 0) {
				StringBuilder sb = new StringBuilder(String.valueOf(debt));

				int count = sb.length();
				sb.delete(count-3, count);
				sb.append("000");
				debt = Integer.parseInt(sb.toString());
				debt += 1000;
			} debt % 1000 != 0 debt % 1000 debt 1000 0 {
				StringBuilder sb = new StringBuilder(String.valueOf(debt));

				int count = sb.length();
				sb.delete(count-3, count);
				sb.append("000");
				debt = Integer.parseInt(sb.toString());
				debt += 1000;
			} StringBuilder sb = new StringBuilder(String.valueOf(debt)); sb new StringBuilder(String.valueOf(debt)) int count = sb.length(); count sb.length() sb.length sb sb.delete(count-3, count) sb.delete sb count-3 count 3 count sb.append("000") sb.append sb "000" debt = Integer.parseInt(sb.toString()) debt Integer.parseInt(sb.toString()) Integer.parseInt Integer sb.toString() sb.toString sb debt += 1000 debt 1000 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) throws NumberFormatException,
			IOException {

		// ?????????
		int debt = 100000;

		// n??±???
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int n = Integer.parseInt(br.readLine());

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

			debt *= 1.05;

			if (debt % 1000 != 0) {
				StringBuilder sb = new StringBuilder(String.valueOf(debt));

				int count = sb.length();
				sb.delete(count-3, count);
				sb.append("000");
				debt = Integer.parseInt(sb.toString());
				debt += 1000;
			}

		}
		System.out.println(debt);

	}
} public class Main {

	public static void main(String[] args) throws NumberFormatException,
			IOException {

		// ?????????
		int debt = 100000;

		// n??±???
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int n = Integer.parseInt(br.readLine());

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

			debt *= 1.05;

			if (debt % 1000 != 0) {
				StringBuilder sb = new StringBuilder(String.valueOf(debt));

				int count = sb.length();
				sb.delete(count-3, count);
				sb.append("000");
				debt = Integer.parseInt(sb.toString());
				debt += 1000;
			}

		}
		System.out.println(debt);

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

public class Main {

	public static void main(String[] args) throws NumberFormatException,
			IOException {

		// ?????????
		int debt = 100000;

		// n??±???
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int n = Integer.parseInt(br.readLine());

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

			debt *= 1.05;

			if (debt % 1000 != 0) {
				StringBuilder sb = new StringBuilder(String.valueOf(debt));

				int count = sb.length();
				sb.delete(count-3, count);
				sb.append("000");
				debt = Integer.parseInt(sb.toString());
				debt += 1000;
			}

		}
		System.out.println(debt);

	}
}