import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Scanner;

public class Main {
	/**
	 * ???????????¢??°
	 * @param args ?????°
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		BufferedReader in = null;
		try {
			//???????????????????????????????????????
			in = new BufferedReader(new InputStreamReader(System.in));
			int n = Integer.parseInt(in.readLine());
			
			//?????¨???????????????????????????
			System.out.println(interest(100000, 5, n));
		} finally {
			//???????????????????????????
			if(in != null) in.close();
			in = null;
		}
	}
	/**
	 * ?????¨?????????????¨?????????????
	 * @param debit ??????????????????
	 * @param rate ?????????(??????:%)
	 * @param n ?????°
	 * @return ?????¨?????????
	 */
	public static int interest(int debit, int rate, int n) {
		int ret = debit;
		
		//??????????¨??????????
		for(int i = 0; i < n; i++) {
			//??????????????????
			ret += ret * rate / 100;
			//???3??????????????????
			ret = cutOut(ret, 3);
		}
		
		//?????¨?????????????????????
		return ret;
	}

	/**
	 * ?????????????????°???????¨?????????????
	 * @param num ????????????????????°???
	 * @param n ??????????????????n???
	 * @return ???n?????????????????????
	 */
	public static int cutOut(int num, int n) {
		int ret = num;
		//???????????????????¶??????°???????????????
		String kiri = "1";
		for(int i = 0; i < n; i++) {
			kiri = kiri + "0";
		}
		
		//???n??????????????????
		String str = String.valueOf(ret);
		str = str.substring(str.length()-n, str.length());
		if(Integer.parseInt(str) > 0) {
			ret  = ret - Integer.parseInt(str) + Integer.parseInt(kiri);
		}
		
		//?????????????????°????????????
		return ret;
	}
}
/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