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

class Main {

	private static BufferedReader br = new BufferedReader(
			new InputStreamReader(System.in));

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

		try {
			Integer week = Integer.parseInt(br
					.readLine());

			int i = week.intValue();
			BigDecimal amount = new BigDecimal(
					"100000");
			BigDecimal interest;
			while (i > 0) {
				interest = amount.multiply(
						new BigDecimal("0.05"));
				amount = amount.add(interest)
						.setScale(-3,
								BigDecimal.ROUND_UP);
				i--;
			}
			System.out.println(amount
					.toPlainString());
		} catch (NumberFormatException e) {
			br.close();
			e.printStackTrace();
		} catch (IOException e) {
			br.close();
			e.printStackTrace();
		}

	}

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

	private static BufferedReader br = new BufferedReader(
			new InputStreamReader(System.in));

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

		try {
			Integer week = Integer.parseInt(br
					.readLine());

			int i = week.intValue();
			BigDecimal amount = new BigDecimal(
					"100000");
			BigDecimal interest;
			while (i > 0) {
				interest = amount.multiply(
						new BigDecimal("0.05"));
				amount = amount.add(interest)
						.setScale(-3,
								BigDecimal.ROUND_UP);
				i--;
			}
			System.out.println(amount
					.toPlainString());
		} catch (NumberFormatException e) {
			br.close();
			e.printStackTrace();
		} catch (IOException e) {
			br.close();
			e.printStackTrace();
		}

	}

} Main private static BufferedReader br = new BufferedReader(
			new InputStreamReader(System.in)); br new BufferedReader(
			new InputStreamReader(System.in)) public static void main(String[] args)
			throws IOException {

		try {
			Integer week = Integer.parseInt(br
					.readLine());

			int i = week.intValue();
			BigDecimal amount = new BigDecimal(
					"100000");
			BigDecimal interest;
			while (i > 0) {
				interest = amount.multiply(
						new BigDecimal("0.05"));
				amount = amount.add(interest)
						.setScale(-3,
								BigDecimal.ROUND_UP);
				i--;
			}
			System.out.println(amount
					.toPlainString());
		} catch (NumberFormatException e) {
			br.close();
			e.printStackTrace();
		} catch (IOException e) {
			br.close();
			e.printStackTrace();
		}

	} main {

		try {
			Integer week = Integer.parseInt(br
					.readLine());

			int i = week.intValue();
			BigDecimal amount = new BigDecimal(
					"100000");
			BigDecimal interest;
			while (i > 0) {
				interest = amount.multiply(
						new BigDecimal("0.05"));
				amount = amount.add(interest)
						.setScale(-3,
								BigDecimal.ROUND_UP);
				i--;
			}
			System.out.println(amount
					.toPlainString());
		} catch (NumberFormatException e) {
			br.close();
			e.printStackTrace();
		} catch (IOException e) {
			br.close();
			e.printStackTrace();
		}

	} try {
			Integer week = Integer.parseInt(br
					.readLine());

			int i = week.intValue();
			BigDecimal amount = new BigDecimal(
					"100000");
			BigDecimal interest;
			while (i > 0) {
				interest = amount.multiply(
						new BigDecimal("0.05"));
				amount = amount.add(interest)
						.setScale(-3,
								BigDecimal.ROUND_UP);
				i--;
			}
			System.out.println(amount
					.toPlainString());
		} catch (NumberFormatException e) {
			br.close();
			e.printStackTrace();
		} catch (IOException e) {
			br.close();
			e.printStackTrace();
		} catch (NumberFormatException e) {
			br.close();
			e.printStackTrace();
		} NumberFormatException e {
			br.close();
			e.printStackTrace();
		} br.close() br.close br e.printStackTrace() e.printStackTrace e catch (IOException e) {
			br.close();
			e.printStackTrace();
		} IOException e {
			br.close();
			e.printStackTrace();
		} br.close() br.close br e.printStackTrace() e.printStackTrace e {
			Integer week = Integer.parseInt(br
					.readLine());

			int i = week.intValue();
			BigDecimal amount = new BigDecimal(
					"100000");
			BigDecimal interest;
			while (i > 0) {
				interest = amount.multiply(
						new BigDecimal("0.05"));
				amount = amount.add(interest)
						.setScale(-3,
								BigDecimal.ROUND_UP);
				i--;
			}
			System.out.println(amount
					.toPlainString());
		} Integer week = Integer.parseInt(br
					.readLine()); week Integer.parseInt(br
					.readLine()) Integer.parseInt Integer br
					.readLine() br
					.readLine br int i = week.intValue(); i week.intValue() week.intValue week BigDecimal amount = new BigDecimal(
					"100000"); amount new BigDecimal(
					"100000") BigDecimal interest; interest while (i > 0) {
				interest = amount.multiply(
						new BigDecimal("0.05"));
				amount = amount.add(interest)
						.setScale(-3,
								BigDecimal.ROUND_UP);
				i--;
			} i > 0 i 0 {
				interest = amount.multiply(
						new BigDecimal("0.05"));
				amount = amount.add(interest)
						.setScale(-3,
								BigDecimal.ROUND_UP);
				i--;
			} interest = amount.multiply(
						new BigDecimal("0.05")) interest amount.multiply(
						new BigDecimal("0.05")) amount.multiply amount new BigDecimal("0.05") amount = amount.add(interest)
						.setScale(-3,
								BigDecimal.ROUND_UP) amount amount.add(interest)
						.setScale(-3,
								BigDecimal.ROUND_UP) amount.add(interest)
						.setScale amount.add(interest) amount.add amount interest -3 3 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP i-- i System.out.println(amount
					.toPlainString()) System.out.println System.out System System.out amount
					.toPlainString() amount
					.toPlainString amount String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;

class Main {

	private static BufferedReader br = new BufferedReader(
			new InputStreamReader(System.in));

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

		try {
			Integer week = Integer.parseInt(br
					.readLine());

			int i = week.intValue();
			BigDecimal amount = new BigDecimal(
					"100000");
			BigDecimal interest;
			while (i > 0) {
				interest = amount.multiply(
						new BigDecimal("0.05"));
				amount = amount.add(interest)
						.setScale(-3,
								BigDecimal.ROUND_UP);
				i--;
			}
			System.out.println(amount
					.toPlainString());
		} catch (NumberFormatException e) {
			br.close();
			e.printStackTrace();
		} catch (IOException e) {
			br.close();
			e.printStackTrace();
		}

	}

}