import java.util.Scanner;

class Main{
    public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
    	
    	double money = 100;
    	int week;
    	while (scan.hasNextInt()){
    		week = scan.nextInt();
    		for(int i = 0; i < week; i++){
    			money = Math.ceil(money*1.05);
    		}
    		System.out.println((int)money*1000);
    	}
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
    	
    	double money = 100;
    	int week;
    	while (scan.hasNextInt()){
    		week = scan.nextInt();
    		for(int i = 0; i < week; i++){
    			money = Math.ceil(money*1.05);
    		}
    		System.out.println((int)money*1000);
    	}
    }
} Main public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
    	
    	double money = 100;
    	int week;
    	while (scan.hasNextInt()){
    		week = scan.nextInt();
    		for(int i = 0; i < week; i++){
    			money = Math.ceil(money*1.05);
    		}
    		System.out.println((int)money*1000);
    	}
    } main {
    	Scanner scan = new Scanner(System.in);
    	
    	double money = 100;
    	int week;
    	while (scan.hasNextInt()){
    		week = scan.nextInt();
    		for(int i = 0; i < week; i++){
    			money = Math.ceil(money*1.05);
    		}
    		System.out.println((int)money*1000);
    	}
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double money = 100; money 100 int week; week while (scan.hasNextInt()){
    		week = scan.nextInt();
    		for(int i = 0; i < week; i++){
    			money = Math.ceil(money*1.05);
    		}
    		System.out.println((int)money*1000);
    	} scan.hasNextInt() scan.hasNextInt scan {
    		week = scan.nextInt();
    		for(int i = 0; i < week; i++){
    			money = Math.ceil(money*1.05);
    		}
    		System.out.println((int)money*1000);
    	} week = scan.nextInt() week scan.nextInt() scan.nextInt scan for(int i = 0; i < week; i++){
    			money = Math.ceil(money*1.05);
    		} int i = 0; int i = 0; i 0 i < week i week i++ i++ i {
    			money = Math.ceil(money*1.05);
    		} {
    			money = Math.ceil(money*1.05);
    		} money = Math.ceil(money*1.05) money Math.ceil(money*1.05) Math.ceil Math money*1.05 money 1.05 System.out.println((int)money*1000) System.out.println System.out System System.out (int)money*1000 (int)money 1000 String[] args args
import java.util.Scanner;

class Main{
    public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
    	
    	double money = 100;
    	int week;
    	while (scan.hasNextInt()){
    		week = scan.nextInt();
    		for(int i = 0; i < week; i++){
    			money = Math.ceil(money*1.05);
    		}
    		System.out.println((int)money*1000);
    	}
    }
}