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);
	}

}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz