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;
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util import java.util.Comparator; Comparator java.util import java.util.Scanner; Scanner java.util 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;
	}
} 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;
		}
	} main {
		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;
		}
	} BufferedReader in = null; 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;
		} {
			//???????????????????????????
			if(in != null) in.close();
			in = null;
		} if(in != null) in.close(); in != null in null in.close() in.close in in = null in null {
			//???????????????????????????????????????
			in = new BufferedReader(new InputStreamReader(System.in));
			int n = Integer.parseInt(in.readLine());
			
			//?????¨???????????????????????????
			System.out.println(interest(100000, 5, n));
		} in = new BufferedReader(new InputStreamReader(System.in)) in new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(in.readLine()); n Integer.parseInt(in.readLine()) Integer.parseInt Integer in.readLine() in.readLine in System.out.println(interest(100000, 5, n)) System.out.println System.out System System.out interest(100000, 5, n) interest 100000 5 n String[] args args /**
	 * ?????¨?????????????¨?????????????
	 * @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;
	} interest {
		int ret = debit;
		
		//??????????¨??????????
		for(int i = 0; i < n; i++) {
			//??????????????????
			ret += ret * rate / 100;
			//???3??????????????????
			ret = cutOut(ret, 3);
		}
		
		//?????¨?????????????????????
		return ret;
	} int ret = debit; ret debit for(int i = 0; i < n; i++) {
			//??????????????????
			ret += ret * rate / 100;
			//???3??????????????????
			ret = cutOut(ret, 3);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			//??????????????????
			ret += ret * rate / 100;
			//???3??????????????????
			ret = cutOut(ret, 3);
		} {
			//??????????????????
			ret += ret * rate / 100;
			//???3??????????????????
			ret = cutOut(ret, 3);
		} ret += ret * rate / 100 ret ret * rate / 100 ret * rate ret rate 100 ret = cutOut(ret, 3) ret cutOut(ret, 3) cutOut ret 3 return ret; ret int debit debit int rate rate int n n /**
	 * ?????????????????°???????¨?????????????
	 * @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;
	} cutOut {
		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;
	} int ret = num; ret num String kiri = "1"; kiri "1" for(int i = 0; i < n; i++) {
			kiri = kiri + "0";
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			kiri = kiri + "0";
		} {
			kiri = kiri + "0";
		} kiri = kiri + "0" kiri kiri + "0" kiri "0" String str = String.valueOf(ret); str String.valueOf(ret) String.valueOf String ret str = str.substring(str.length()-n, str.length()) str str.substring(str.length()-n, str.length()) str.substring str str.length()-n str.length() str.length str n str.length() str.length str if(Integer.parseInt(str) > 0) {
			ret  = ret - Integer.parseInt(str) + Integer.parseInt(kiri);
		} Integer.parseInt(str) > 0 Integer.parseInt(str) Integer.parseInt Integer str 0 {
			ret  = ret - Integer.parseInt(str) + Integer.parseInt(kiri);
		} ret  = ret - Integer.parseInt(str) + Integer.parseInt(kiri) ret ret - Integer.parseInt(str) + Integer.parseInt(kiri) ret - Integer.parseInt(str) ret Integer.parseInt(str) Integer.parseInt Integer str Integer.parseInt(kiri) Integer.parseInt Integer kiri return ret; ret int num num int n n 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;
	}
} 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;
	}
} Main
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;
	}
}