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

/**
 * @author Yuki
 */
public class Main {

	/*** ?????? */
	private final static double INTEREST = 1.05;

	/*** ??????????????? */
	private final static double REVALUATION = 1000;

	/*** ???????????\??????????????????????¨??????\?????? */
	private static BufferedReader br;

	/*** ??± */
	private static int weekNum;

	/*** ????????? */
	static {
		// ?¨??????\?????????
		br = new BufferedReader(new InputStreamReader(System.in));
		try {
			weekNum = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	/**
	 * ?????????????????????<br>
	 * ??????????????????????????????
	 *
	 * @param args
	 *            ??????????????°
	 */
	public static void main(String[] args) {

		// ????????????????????????
		System.out.println(getTotalDept());

	}

	/**
	 * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????
	 *
	 * @return ???????????????
	 */
	private static int getTotalDept() {
		double debt = 100000 / REVALUATION;
		for (; weekNum > 0; weekNum--) {
			debt = Math.ceil(debt * INTEREST); // ????????????
		}
		return (int) (debt * REVALUATION);
	}

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

	/*** ?????? */
	private final static double INTEREST = 1.05;

	/*** ??????????????? */
	private final static double REVALUATION = 1000;

	/*** ???????????\??????????????????????¨??????\?????? */
	private static BufferedReader br;

	/*** ??± */
	private static int weekNum;

	/*** ????????? */
	static {
		// ?¨??????\?????????
		br = new BufferedReader(new InputStreamReader(System.in));
		try {
			weekNum = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	/**
	 * ?????????????????????<br>
	 * ??????????????????????????????
	 *
	 * @param args
	 *            ??????????????°
	 */
	public static void main(String[] args) {

		// ????????????????????????
		System.out.println(getTotalDept());

	}

	/**
	 * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????
	 *
	 * @return ???????????????
	 */
	private static int getTotalDept() {
		double debt = 100000 / REVALUATION;
		for (; weekNum > 0; weekNum--) {
			debt = Math.ceil(debt * INTEREST); // ????????????
		}
		return (int) (debt * REVALUATION);
	}

} Main /*** ?????? */
	private final static double INTEREST = 1.05; INTEREST 1.05 /*** ??????????????? */
	private final static double REVALUATION = 1000; REVALUATION 1000 /*** ???????????\??????????????????????¨??????\?????? */
	private static BufferedReader br; br /*** ??± */
	private static int weekNum; weekNum /**
	 * ?????????????????????<br>
	 * ??????????????????????????????
	 *
	 * @param args
	 *            ??????????????°
	 */
	public static void main(String[] args) {

		// ????????????????????????
		System.out.println(getTotalDept());

	} main {

		// ????????????????????????
		System.out.println(getTotalDept());

	} System.out.println(getTotalDept()) System.out.println System.out System System.out getTotalDept() getTotalDept String[] args args /**
	 * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????
	 *
	 * @return ???????????????
	 */
	private static int getTotalDept() {
		double debt = 100000 / REVALUATION;
		for (; weekNum > 0; weekNum--) {
			debt = Math.ceil(debt * INTEREST); // ????????????
		}
		return (int) (debt * REVALUATION);
	} getTotalDept {
		double debt = 100000 / REVALUATION;
		for (; weekNum > 0; weekNum--) {
			debt = Math.ceil(debt * INTEREST); // ????????????
		}
		return (int) (debt * REVALUATION);
	} double debt = 100000 / REVALUATION; debt 100000 / REVALUATION 100000 REVALUATION for (; weekNum > 0; weekNum--) {
			debt = Math.ceil(debt * INTEREST); // ????????????
		} ; weekNum > 0 weekNum 0 weekNum-- weekNum-- weekNum {
			debt = Math.ceil(debt * INTEREST); // ????????????
		} {
			debt = Math.ceil(debt * INTEREST); // ????????????
		} debt = Math.ceil(debt * INTEREST) debt Math.ceil(debt * INTEREST) Math.ceil Math debt * INTEREST debt INTEREST return (int) (debt * REVALUATION); (int) (debt * REVALUATION) debt REVALUATION public class Main {

	/*** ?????? */
	private final static double INTEREST = 1.05;

	/*** ??????????????? */
	private final static double REVALUATION = 1000;

	/*** ???????????\??????????????????????¨??????\?????? */
	private static BufferedReader br;

	/*** ??± */
	private static int weekNum;

	/*** ????????? */
	static {
		// ?¨??????\?????????
		br = new BufferedReader(new InputStreamReader(System.in));
		try {
			weekNum = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	/**
	 * ?????????????????????<br>
	 * ??????????????????????????????
	 *
	 * @param args
	 *            ??????????????°
	 */
	public static void main(String[] args) {

		// ????????????????????????
		System.out.println(getTotalDept());

	}

	/**
	 * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????
	 *
	 * @return ???????????????
	 */
	private static int getTotalDept() {
		double debt = 100000 / REVALUATION;
		for (; weekNum > 0; weekNum--) {
			debt = Math.ceil(debt * INTEREST); // ????????????
		}
		return (int) (debt * REVALUATION);
	}

} public class Main {

	/*** ?????? */
	private final static double INTEREST = 1.05;

	/*** ??????????????? */
	private final static double REVALUATION = 1000;

	/*** ???????????\??????????????????????¨??????\?????? */
	private static BufferedReader br;

	/*** ??± */
	private static int weekNum;

	/*** ????????? */
	static {
		// ?¨??????\?????????
		br = new BufferedReader(new InputStreamReader(System.in));
		try {
			weekNum = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	/**
	 * ?????????????????????<br>
	 * ??????????????????????????????
	 *
	 * @param args
	 *            ??????????????°
	 */
	public static void main(String[] args) {

		// ????????????????????????
		System.out.println(getTotalDept());

	}

	/**
	 * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????
	 *
	 * @return ???????????????
	 */
	private static int getTotalDept() {
		double debt = 100000 / REVALUATION;
		for (; weekNum > 0; weekNum--) {
			debt = Math.ceil(debt * INTEREST); // ????????????
		}
		return (int) (debt * REVALUATION);
	}

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

/**
 * @author Yuki
 */
public class Main {

	/*** ?????? */
	private final static double INTEREST = 1.05;

	/*** ??????????????? */
	private final static double REVALUATION = 1000;

	/*** ???????????\??????????????????????¨??????\?????? */
	private static BufferedReader br;

	/*** ??± */
	private static int weekNum;

	/*** ????????? */
	static {
		// ?¨??????\?????????
		br = new BufferedReader(new InputStreamReader(System.in));
		try {
			weekNum = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	/**
	 * ?????????????????????<br>
	 * ??????????????????????????????
	 *
	 * @param args
	 *            ??????????????°
	 */
	public static void main(String[] args) {

		// ????????????????????????
		System.out.println(getTotalDept());

	}

	/**
	 * ?????????????????????????????? ????????????????????±???????¨??????????????¨????????????????
	 *
	 * @return ???????????????
	 */
	private static int getTotalDept() {
		double debt = 100000 / REVALUATION;
		for (; weekNum > 0; weekNum--) {
			debt = Math.ceil(debt * INTEREST); // ????????????
		}
		return (int) (debt * REVALUATION);
	}

}