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

public class Main {

	/** ?????? */
	static final BigDecimal capital = BigDecimal.valueOf(100000);

	/** ?????? */
	static final BigDecimal interest = BigDecimal.valueOf(0.05);

	/** ??? */
	static final BigDecimal rate = BigDecimal.valueOf(1).add(interest);

	/**
	 * ????????°???????????°???????????????
	 * ????´???¨???Debt Hell(????????°???)
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		String input = br.readLine();

		// ????????¶?????\???????????±????????????????????????????????????
		int weeks = Integer.valueOf(input);

		// ?¨??????????????????????????????????????´?
		BigDecimal result = capital;
		for (int i = 0; i < weeks; i++) {
			// ????????????????????????????????????1000???????????????????????????
			result = roundUpLowerThousand(rate.multiply(result).setScale(0, BigDecimal.ROUND_UP));
		}

		System.out.println(result);
	}

	/**
	 * ????§°?????°??????1000???????????????????????????????????´
	 *
	 * @param target ????§°??°???
	 * @return ????????????????????????
	 */
	private static BigDecimal roundUpLowerThousand(BigDecimal target) {
		// ?¨????????????¨??????????????°???1000???
		BigDecimal basisNumber = BigDecimal.valueOf(1000);
		BigDecimal result = target.divide(basisNumber).setScale(0, BigDecimal.ROUND_UP);

		return result.multiply(basisNumber);
	}
} 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 public class Main {

	/** ?????? */
	static final BigDecimal capital = BigDecimal.valueOf(100000);

	/** ?????? */
	static final BigDecimal interest = BigDecimal.valueOf(0.05);

	/** ??? */
	static final BigDecimal rate = BigDecimal.valueOf(1).add(interest);

	/**
	 * ????????°???????????°???????????????
	 * ????´???¨???Debt Hell(????????°???)
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		String input = br.readLine();

		// ????????¶?????\???????????±????????????????????????????????????
		int weeks = Integer.valueOf(input);

		// ?¨??????????????????????????????????????´?
		BigDecimal result = capital;
		for (int i = 0; i < weeks; i++) {
			// ????????????????????????????????????1000???????????????????????????
			result = roundUpLowerThousand(rate.multiply(result).setScale(0, BigDecimal.ROUND_UP));
		}

		System.out.println(result);
	}

	/**
	 * ????§°?????°??????1000???????????????????????????????????´
	 *
	 * @param target ????§°??°???
	 * @return ????????????????????????
	 */
	private static BigDecimal roundUpLowerThousand(BigDecimal target) {
		// ?¨????????????¨??????????????°???1000???
		BigDecimal basisNumber = BigDecimal.valueOf(1000);
		BigDecimal result = target.divide(basisNumber).setScale(0, BigDecimal.ROUND_UP);

		return result.multiply(basisNumber);
	}
} Main /** ?????? */
	static final BigDecimal capital = BigDecimal.valueOf(100000); capital BigDecimal.valueOf(100000) BigDecimal.valueOf BigDecimal 100000 /** ?????? */
	static final BigDecimal interest = BigDecimal.valueOf(0.05); interest BigDecimal.valueOf(0.05) BigDecimal.valueOf BigDecimal 0.05 /** ??? */
	static final BigDecimal rate = BigDecimal.valueOf(1).add(interest); rate BigDecimal.valueOf(1).add(interest) BigDecimal.valueOf(1).add BigDecimal.valueOf(1) BigDecimal.valueOf BigDecimal 1 interest /**
	 * ????????°???????????°???????????????
	 * ????´???¨???Debt Hell(????????°???)
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		String input = br.readLine();

		// ????????¶?????\???????????±????????????????????????????????????
		int weeks = Integer.valueOf(input);

		// ?¨??????????????????????????????????????´?
		BigDecimal result = capital;
		for (int i = 0; i < weeks; i++) {
			// ????????????????????????????????????1000???????????????????????????
			result = roundUpLowerThousand(rate.multiply(result).setScale(0, BigDecimal.ROUND_UP));
		}

		System.out.println(result);
	} main {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		String input = br.readLine();

		// ????????¶?????\???????????±????????????????????????????????????
		int weeks = Integer.valueOf(input);

		// ?¨??????????????????????????????????????´?
		BigDecimal result = capital;
		for (int i = 0; i < weeks; i++) {
			// ????????????????????????????????????1000???????????????????????????
			result = roundUpLowerThousand(rate.multiply(result).setScale(0, BigDecimal.ROUND_UP));
		}

		System.out.println(result);
	} InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader br = new BufferedReader(is); br new BufferedReader(is) String input = br.readLine(); input br.readLine() br.readLine br int weeks = Integer.valueOf(input); weeks Integer.valueOf(input) Integer.valueOf Integer input BigDecimal result = capital; result capital for (int i = 0; i < weeks; i++) {
			// ????????????????????????????????????1000???????????????????????????
			result = roundUpLowerThousand(rate.multiply(result).setScale(0, BigDecimal.ROUND_UP));
		} int i = 0; int i = 0; i 0 i < weeks i weeks i++ i++ i {
			// ????????????????????????????????????1000???????????????????????????
			result = roundUpLowerThousand(rate.multiply(result).setScale(0, BigDecimal.ROUND_UP));
		} {
			// ????????????????????????????????????1000???????????????????????????
			result = roundUpLowerThousand(rate.multiply(result).setScale(0, BigDecimal.ROUND_UP));
		} result = roundUpLowerThousand(rate.multiply(result).setScale(0, BigDecimal.ROUND_UP)) result roundUpLowerThousand(rate.multiply(result).setScale(0, BigDecimal.ROUND_UP)) roundUpLowerThousand rate.multiply(result).setScale(0, BigDecimal.ROUND_UP) rate.multiply(result).setScale rate.multiply(result) rate.multiply rate result 0 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP System.out.println(result) System.out.println System.out System System.out result String[] args args /**
	 * ????§°?????°??????1000???????????????????????????????????´
	 *
	 * @param target ????§°??°???
	 * @return ????????????????????????
	 */
	private static BigDecimal roundUpLowerThousand(BigDecimal target) {
		// ?¨????????????¨??????????????°???1000???
		BigDecimal basisNumber = BigDecimal.valueOf(1000);
		BigDecimal result = target.divide(basisNumber).setScale(0, BigDecimal.ROUND_UP);

		return result.multiply(basisNumber);
	} roundUpLowerThousand {
		// ?¨????????????¨??????????????°???1000???
		BigDecimal basisNumber = BigDecimal.valueOf(1000);
		BigDecimal result = target.divide(basisNumber).setScale(0, BigDecimal.ROUND_UP);

		return result.multiply(basisNumber);
	} BigDecimal basisNumber = BigDecimal.valueOf(1000); basisNumber BigDecimal.valueOf(1000) BigDecimal.valueOf BigDecimal 1000 BigDecimal result = target.divide(basisNumber).setScale(0, BigDecimal.ROUND_UP); result target.divide(basisNumber).setScale(0, BigDecimal.ROUND_UP) target.divide(basisNumber).setScale target.divide(basisNumber) target.divide target basisNumber 0 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP return result.multiply(basisNumber); result.multiply(basisNumber) result.multiply result basisNumber BigDecimal target target public class Main {

	/** ?????? */
	static final BigDecimal capital = BigDecimal.valueOf(100000);

	/** ?????? */
	static final BigDecimal interest = BigDecimal.valueOf(0.05);

	/** ??? */
	static final BigDecimal rate = BigDecimal.valueOf(1).add(interest);

	/**
	 * ????????°???????????°???????????????
	 * ????´???¨???Debt Hell(????????°???)
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		String input = br.readLine();

		// ????????¶?????\???????????±????????????????????????????????????
		int weeks = Integer.valueOf(input);

		// ?¨??????????????????????????????????????´?
		BigDecimal result = capital;
		for (int i = 0; i < weeks; i++) {
			// ????????????????????????????????????1000???????????????????????????
			result = roundUpLowerThousand(rate.multiply(result).setScale(0, BigDecimal.ROUND_UP));
		}

		System.out.println(result);
	}

	/**
	 * ????§°?????°??????1000???????????????????????????????????´
	 *
	 * @param target ????§°??°???
	 * @return ????????????????????????
	 */
	private static BigDecimal roundUpLowerThousand(BigDecimal target) {
		// ?¨????????????¨??????????????°???1000???
		BigDecimal basisNumber = BigDecimal.valueOf(1000);
		BigDecimal result = target.divide(basisNumber).setScale(0, BigDecimal.ROUND_UP);

		return result.multiply(basisNumber);
	}
} public class Main {

	/** ?????? */
	static final BigDecimal capital = BigDecimal.valueOf(100000);

	/** ?????? */
	static final BigDecimal interest = BigDecimal.valueOf(0.05);

	/** ??? */
	static final BigDecimal rate = BigDecimal.valueOf(1).add(interest);

	/**
	 * ????????°???????????°???????????????
	 * ????´???¨???Debt Hell(????????°???)
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		String input = br.readLine();

		// ????????¶?????\???????????±????????????????????????????????????
		int weeks = Integer.valueOf(input);

		// ?¨??????????????????????????????????????´?
		BigDecimal result = capital;
		for (int i = 0; i < weeks; i++) {
			// ????????????????????????????????????1000???????????????????????????
			result = roundUpLowerThousand(rate.multiply(result).setScale(0, BigDecimal.ROUND_UP));
		}

		System.out.println(result);
	}

	/**
	 * ????§°?????°??????1000???????????????????????????????????´
	 *
	 * @param target ????§°??°???
	 * @return ????????????????????????
	 */
	private static BigDecimal roundUpLowerThousand(BigDecimal target) {
		// ?¨????????????¨??????????????°???1000???
		BigDecimal basisNumber = BigDecimal.valueOf(1000);
		BigDecimal result = target.divide(basisNumber).setScale(0, BigDecimal.ROUND_UP);

		return result.multiply(basisNumber);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;

public class Main {

	/** ?????? */
	static final BigDecimal capital = BigDecimal.valueOf(100000);

	/** ?????? */
	static final BigDecimal interest = BigDecimal.valueOf(0.05);

	/** ??? */
	static final BigDecimal rate = BigDecimal.valueOf(1).add(interest);

	/**
	 * ????????°???????????°???????????????
	 * ????´???¨???Debt Hell(????????°???)
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		String input = br.readLine();

		// ????????¶?????\???????????±????????????????????????????????????
		int weeks = Integer.valueOf(input);

		// ?¨??????????????????????????????????????´?
		BigDecimal result = capital;
		for (int i = 0; i < weeks; i++) {
			// ????????????????????????????????????1000???????????????????????????
			result = roundUpLowerThousand(rate.multiply(result).setScale(0, BigDecimal.ROUND_UP));
		}

		System.out.println(result);
	}

	/**
	 * ????§°?????°??????1000???????????????????????????????????´
	 *
	 * @param target ????§°??°???
	 * @return ????????????????????????
	 */
	private static BigDecimal roundUpLowerThousand(BigDecimal target) {
		// ?¨????????????¨??????????????°???1000???
		BigDecimal basisNumber = BigDecimal.valueOf(1000);
		BigDecimal result = target.divide(basisNumber).setScale(0, BigDecimal.ROUND_UP);

		return result.multiply(basisNumber);
	}
}