import java.util.Scanner;


public class Main {
    public static void main(String[] args){
    	Scanner input = new Scanner(System.in);
    	int n = input.nextInt();
    	int num = 100000;
    	while(n != 0){
    		num *= 1.05;
    		String strnum = String.valueOf(num);
    		if(!strnum.substring(strnum.length()-3,strnum.length()).equals("000")){
    			num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000"));
    		}
    		n--;
    	}
    	System.out.println(num);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
    	Scanner input = new Scanner(System.in);
    	int n = input.nextInt();
    	int num = 100000;
    	while(n != 0){
    		num *= 1.05;
    		String strnum = String.valueOf(num);
    		if(!strnum.substring(strnum.length()-3,strnum.length()).equals("000")){
    			num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000"));
    		}
    		n--;
    	}
    	System.out.println(num);
    }
} Main public static void main(String[] args){
    	Scanner input = new Scanner(System.in);
    	int n = input.nextInt();
    	int num = 100000;
    	while(n != 0){
    		num *= 1.05;
    		String strnum = String.valueOf(num);
    		if(!strnum.substring(strnum.length()-3,strnum.length()).equals("000")){
    			num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000"));
    		}
    		n--;
    	}
    	System.out.println(num);
    } main {
    	Scanner input = new Scanner(System.in);
    	int n = input.nextInt();
    	int num = 100000;
    	while(n != 0){
    		num *= 1.05;
    		String strnum = String.valueOf(num);
    		if(!strnum.substring(strnum.length()-3,strnum.length()).equals("000")){
    			num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000"));
    		}
    		n--;
    	}
    	System.out.println(num);
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) int n = input.nextInt(); n input.nextInt() input.nextInt input int num = 100000; num 100000 while(n != 0){
    		num *= 1.05;
    		String strnum = String.valueOf(num);
    		if(!strnum.substring(strnum.length()-3,strnum.length()).equals("000")){
    			num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000"));
    		}
    		n--;
    	} n != 0 n 0 {
    		num *= 1.05;
    		String strnum = String.valueOf(num);
    		if(!strnum.substring(strnum.length()-3,strnum.length()).equals("000")){
    			num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000"));
    		}
    		n--;
    	} num *= 1.05 num 1.05 String strnum = String.valueOf(num); strnum String.valueOf(num) String.valueOf String num if(!strnum.substring(strnum.length()-3,strnum.length()).equals("000")){
    			num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000"));
    		} !strnum.substring(strnum.length()-3,strnum.length()).equals("000") strnum.substring(strnum.length()-3,strnum.length()).equals("000") strnum.substring(strnum.length()-3,strnum.length()).equals strnum.substring(strnum.length()-3,strnum.length()) strnum.substring strnum strnum.length()-3 strnum.length() strnum.length strnum 3 strnum.length() strnum.length strnum "000" {
    			num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000"));
    		} num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000")) num Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000")) Integer.parseInt Integer String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000") String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)) String.valueOf String (Integer.parseInt(strnum.substring(0,strnum.length()-3))+1) Integer.parseInt(strnum.substring(0,strnum.length()-3)) Integer.parseInt Integer strnum.substring(0,strnum.length()-3) strnum.substring strnum 0 strnum.length()-3 strnum.length() strnum.length strnum 3 1 "000" n-- n System.out.println(num) System.out.println System.out System System.out num String[] args args public class Main {
    public static void main(String[] args){
    	Scanner input = new Scanner(System.in);
    	int n = input.nextInt();
    	int num = 100000;
    	while(n != 0){
    		num *= 1.05;
    		String strnum = String.valueOf(num);
    		if(!strnum.substring(strnum.length()-3,strnum.length()).equals("000")){
    			num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000"));
    		}
    		n--;
    	}
    	System.out.println(num);
    }
} public class Main {
    public static void main(String[] args){
    	Scanner input = new Scanner(System.in);
    	int n = input.nextInt();
    	int num = 100000;
    	while(n != 0){
    		num *= 1.05;
    		String strnum = String.valueOf(num);
    		if(!strnum.substring(strnum.length()-3,strnum.length()).equals("000")){
    			num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000"));
    		}
    		n--;
    	}
    	System.out.println(num);
    }
} Main
import java.util.Scanner;


public class Main {
    public static void main(String[] args){
    	Scanner input = new Scanner(System.in);
    	int n = input.nextInt();
    	int num = 100000;
    	while(n != 0){
    		num *= 1.05;
    		String strnum = String.valueOf(num);
    		if(!strnum.substring(strnum.length()-3,strnum.length()).equals("000")){
    			num = Integer.parseInt(String.valueOf((Integer.parseInt(strnum.substring(0,strnum.length()-3))+1)).concat("000"));
    		}
    		n--;
    	}
    	System.out.println(num);
    }
}