import java.util.Scanner;
import java.math.BigDecimal;


public class Main {
	public static void main(String args[]){
		new Main().run();
	}
	
	void run(){
		double loan = 100000;
		BigDecimal bd;
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		for(int i=0; i < a; i++){
			bd = new BigDecimal(loan * 1.05);
			BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);
			loan = bdup.doubleValue();
		}
		System.out.println((int)loan);
	}
} import java.util.Scanner; Scanner java.util import java.math.BigDecimal; BigDecimal java.math public class Main {
	public static void main(String args[]){
		new Main().run();
	}
	
	void run(){
		double loan = 100000;
		BigDecimal bd;
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		for(int i=0; i < a; i++){
			bd = new BigDecimal(loan * 1.05);
			BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);
			loan = bdup.doubleValue();
		}
		System.out.println((int)loan);
	}
} Main public static void main(String args[]){
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String args[] args void run(){
		double loan = 100000;
		BigDecimal bd;
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		for(int i=0; i < a; i++){
			bd = new BigDecimal(loan * 1.05);
			BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);
			loan = bdup.doubleValue();
		}
		System.out.println((int)loan);
	} run {
		double loan = 100000;
		BigDecimal bd;
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		for(int i=0; i < a; i++){
			bd = new BigDecimal(loan * 1.05);
			BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);
			loan = bdup.doubleValue();
		}
		System.out.println((int)loan);
	} double loan = 100000; loan 100000 BigDecimal bd; bd Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc for(int i=0; i < a; i++){
			bd = new BigDecimal(loan * 1.05);
			BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);
			loan = bdup.doubleValue();
		} int i=0; int i=0; i 0 i < a i a i++ i++ i {
			bd = new BigDecimal(loan * 1.05);
			BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);
			loan = bdup.doubleValue();
		} {
			bd = new BigDecimal(loan * 1.05);
			BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);
			loan = bdup.doubleValue();
		} bd = new BigDecimal(loan * 1.05) bd new BigDecimal(loan * 1.05) BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP); bdup bd.setScale(-3, BigDecimal.ROUND_UP) bd.setScale bd -3 3 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP loan = bdup.doubleValue() loan bdup.doubleValue() bdup.doubleValue bdup System.out.println((int)loan) System.out.println System.out System System.out (int)loan public class Main {
	public static void main(String args[]){
		new Main().run();
	}
	
	void run(){
		double loan = 100000;
		BigDecimal bd;
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		for(int i=0; i < a; i++){
			bd = new BigDecimal(loan * 1.05);
			BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);
			loan = bdup.doubleValue();
		}
		System.out.println((int)loan);
	}
} public class Main {
	public static void main(String args[]){
		new Main().run();
	}
	
	void run(){
		double loan = 100000;
		BigDecimal bd;
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		for(int i=0; i < a; i++){
			bd = new BigDecimal(loan * 1.05);
			BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);
			loan = bdup.doubleValue();
		}
		System.out.println((int)loan);
	}
} Main
import java.util.Scanner;
import java.math.BigDecimal;


public class Main {
	public static void main(String args[]){
		new Main().run();
	}
	
	void run(){
		double loan = 100000;
		BigDecimal bd;
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		for(int i=0; i < a; i++){
			bd = new BigDecimal(loan * 1.05);
			BigDecimal bdup = bd.setScale(-3, BigDecimal.ROUND_UP);
			loan = bdup.doubleValue();
		}
		System.out.println((int)loan);
	}
}