import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		// ?¨??????\???????????±??°?????????
		Scanner stdId = new Scanner(System.in);
		int deptWeek = stdId.nextInt();

		// ??????
		int dept = 100000;

		// ????????????????????????
		System.out.println(String.valueOf(deptCalc(dept, deptWeek)));

	}

	// ??????(baseMoney)??¨??????????????±??°(deptweek)?????????????????§???????????????????¨????
	public static int deptCalc(int baseDept, int deptWeek) {

		// ?????°??£?¨?
		double dept = (double) baseDept; // ??????
		int ceilLength = 1000; // ????????????????????°???

		// n??±???????????????5%??????????????????(1000??????????????????????????¨??????)
		dept = dept / ceilLength;
		for (int i = 0; i < deptWeek; i++) {
			dept *= 1.05;
			dept = Math.ceil(dept);
		}
		dept *= ceilLength;

		return (int) dept;
	}

}
/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