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

public class Main {

	/**
	 * ?????????????????§??????????????????????????°??£?????????????????????????\?????????? 10 ???????????????????????????????????¨??????????????????????????¨???????????????
	 * ???????\???????????????±????????¨??? 5% ???????????????????????????????????????????????? 1,000 ?????????????????????????????????
     *n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????????????????????????????n ??? 100 ??\?????¨????????????
	 * @param args
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO ?????????????????????????????????????????????
		InputStreamReader is = new InputStreamReader(System.in);       
        BufferedReader br = new BufferedReader(is);                   
  
        int weekNum = Integer.parseInt(br.readLine());
        
        
        int debt = 100000;	//????????????
        int roundUpNum =1000;	//?????????????????°???
        
        for(int i = 0;i < weekNum;i++) {
        	debt *= 1.05;
        	//1000???????????????????????????
        	debt = (int)Math.ceil((double)debt / roundUpNum) * roundUpNum;
        }
        System.out.println(debt);
        
        
        
	}
	
	

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

	/**
	 * ?????????????????§??????????????????????????°??£?????????????????????????\?????????? 10 ???????????????????????????????????¨??????????????????????????¨???????????????
	 * ???????\???????????????±????????¨??? 5% ???????????????????????????????????????????????? 1,000 ?????????????????????????????????
     *n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????????????????????????????n ??? 100 ??\?????¨????????????
	 * @param args
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO ?????????????????????????????????????????????
		InputStreamReader is = new InputStreamReader(System.in);       
        BufferedReader br = new BufferedReader(is);                   
  
        int weekNum = Integer.parseInt(br.readLine());
        
        
        int debt = 100000;	//????????????
        int roundUpNum =1000;	//?????????????????°???
        
        for(int i = 0;i < weekNum;i++) {
        	debt *= 1.05;
        	//1000???????????????????????????
        	debt = (int)Math.ceil((double)debt / roundUpNum) * roundUpNum;
        }
        System.out.println(debt);
        
        
        
	}
	
	

} Main /**
	 * ?????????????????§??????????????????????????°??£?????????????????????????\?????????? 10 ???????????????????????????????????¨??????????????????????????¨???????????????
	 * ???????\???????????????±????????¨??? 5% ???????????????????????????????????????????????? 1,000 ?????????????????????????????????
     *n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????????????????????????????n ??? 100 ??\?????¨????????????
	 * @param args
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO ?????????????????????????????????????????????
		InputStreamReader is = new InputStreamReader(System.in);       
        BufferedReader br = new BufferedReader(is);                   
  
        int weekNum = Integer.parseInt(br.readLine());
        
        
        int debt = 100000;	//????????????
        int roundUpNum =1000;	//?????????????????°???
        
        for(int i = 0;i < weekNum;i++) {
        	debt *= 1.05;
        	//1000???????????????????????????
        	debt = (int)Math.ceil((double)debt / roundUpNum) * roundUpNum;
        }
        System.out.println(debt);
        
        
        
	} main {
		// TODO ?????????????????????????????????????????????
		InputStreamReader is = new InputStreamReader(System.in);       
        BufferedReader br = new BufferedReader(is);                   
  
        int weekNum = Integer.parseInt(br.readLine());
        
        
        int debt = 100000;	//????????????
        int roundUpNum =1000;	//?????????????????°???
        
        for(int i = 0;i < weekNum;i++) {
        	debt *= 1.05;
        	//1000???????????????????????????
        	debt = (int)Math.ceil((double)debt / roundUpNum) * roundUpNum;
        }
        System.out.println(debt);
        
        
        
	} InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader br = new BufferedReader(is); br new BufferedReader(is) int weekNum = Integer.parseInt(br.readLine()); weekNum Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int debt = 100000; debt 100000 int roundUpNum =1000; roundUpNum 1000 for(int i = 0;i < weekNum;i++) {
        	debt *= 1.05;
        	//1000???????????????????????????
        	debt = (int)Math.ceil((double)debt / roundUpNum) * roundUpNum;
        } int i = 0; int i = 0; i 0 i < weekNum i weekNum i++ i++ i {
        	debt *= 1.05;
        	//1000???????????????????????????
        	debt = (int)Math.ceil((double)debt / roundUpNum) * roundUpNum;
        } {
        	debt *= 1.05;
        	//1000???????????????????????????
        	debt = (int)Math.ceil((double)debt / roundUpNum) * roundUpNum;
        } debt *= 1.05 debt 1.05 debt = (int)Math.ceil((double)debt / roundUpNum) * roundUpNum debt (int)Math.ceil((double)debt / roundUpNum) * roundUpNum (int)Math.ceil((double)debt / roundUpNum) Math.ceil Math (double)debt / roundUpNum (double)debt roundUpNum roundUpNum System.out.println(debt) System.out.println System.out System System.out debt String[] args args public class Main {

	/**
	 * ?????????????????§??????????????????????????°??£?????????????????????????\?????????? 10 ???????????????????????????????????¨??????????????????????????¨???????????????
	 * ???????\???????????????±????????¨??? 5% ???????????????????????????????????????????????? 1,000 ?????????????????????????????????
     *n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????????????????????????????n ??? 100 ??\?????¨????????????
	 * @param args
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO ?????????????????????????????????????????????
		InputStreamReader is = new InputStreamReader(System.in);       
        BufferedReader br = new BufferedReader(is);                   
  
        int weekNum = Integer.parseInt(br.readLine());
        
        
        int debt = 100000;	//????????????
        int roundUpNum =1000;	//?????????????????°???
        
        for(int i = 0;i < weekNum;i++) {
        	debt *= 1.05;
        	//1000???????????????????????????
        	debt = (int)Math.ceil((double)debt / roundUpNum) * roundUpNum;
        }
        System.out.println(debt);
        
        
        
	}
	
	

} public class Main {

	/**
	 * ?????????????????§??????????????????????????°??£?????????????????????????\?????????? 10 ???????????????????????????????????¨??????????????????????????¨???????????????
	 * ???????\???????????????±????????¨??? 5% ???????????????????????????????????????????????? 1,000 ?????????????????????????????????
     *n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????????????????????????????n ??? 100 ??\?????¨????????????
	 * @param args
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO ?????????????????????????????????????????????
		InputStreamReader is = new InputStreamReader(System.in);       
        BufferedReader br = new BufferedReader(is);                   
  
        int weekNum = Integer.parseInt(br.readLine());
        
        
        int debt = 100000;	//????????????
        int roundUpNum =1000;	//?????????????????°???
        
        for(int i = 0;i < weekNum;i++) {
        	debt *= 1.05;
        	//1000???????????????????????????
        	debt = (int)Math.ceil((double)debt / roundUpNum) * roundUpNum;
        }
        System.out.println(debt);
        
        
        
	}
	
	

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

public class Main {

	/**
	 * ?????????????????§??????????????????????????°??£?????????????????????????\?????????? 10 ???????????????????????????????????¨??????????????????????????¨???????????????
	 * ???????\???????????????±????????¨??? 5% ???????????????????????????????????????????????? 1,000 ?????????????????????????????????
     *n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????????????????????????????n ??? 100 ??\?????¨????????????
	 * @param args
	 * @throws IOException 
	 * @throws NumberFormatException 
	 */
	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO ?????????????????????????????????????????????
		InputStreamReader is = new InputStreamReader(System.in);       
        BufferedReader br = new BufferedReader(is);                   
  
        int weekNum = Integer.parseInt(br.readLine());
        
        
        int debt = 100000;	//????????????
        int roundUpNum =1000;	//?????????????????°???
        
        for(int i = 0;i < weekNum;i++) {
        	debt *= 1.05;
        	//1000???????????????????????????
        	debt = (int)Math.ceil((double)debt / roundUpNum) * roundUpNum;
        }
        System.out.println(debt);
        
        
        
	}
	
	

}