import java.io.*;

class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
		String s=r.readLine();
		int n = Integer.parseInt(s);
		int money=100000;
		try {
			for(;n>0;n--){
				money*=1.05;
				if (money%1000>0){
					money = ((money/1000)+1)*1000;
				}
			}
			System.out.println(money);
		} catch (Exception err) {
			System.exit(0);
		}
	}
} import java.io.*; io.* java class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
		String s=r.readLine();
		int n = Integer.parseInt(s);
		int money=100000;
		try {
			for(;n>0;n--){
				money*=1.05;
				if (money%1000>0){
					money = ((money/1000)+1)*1000;
				}
			}
			System.out.println(money);
		} catch (Exception err) {
			System.exit(0);
		}
	}
} Main public static void main(String[] args) throws IOException{
		BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
		String s=r.readLine();
		int n = Integer.parseInt(s);
		int money=100000;
		try {
			for(;n>0;n--){
				money*=1.05;
				if (money%1000>0){
					money = ((money/1000)+1)*1000;
				}
			}
			System.out.println(money);
		} catch (Exception err) {
			System.exit(0);
		}
	} main {
		BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
		String s=r.readLine();
		int n = Integer.parseInt(s);
		int money=100000;
		try {
			for(;n>0;n--){
				money*=1.05;
				if (money%1000>0){
					money = ((money/1000)+1)*1000;
				}
			}
			System.out.println(money);
		} catch (Exception err) {
			System.exit(0);
		}
	} BufferedReader r = new BufferedReader(new InputStreamReader(System.in)); r new BufferedReader(new InputStreamReader(System.in)) String s=r.readLine(); s r.readLine() r.readLine r int n = Integer.parseInt(s); n Integer.parseInt(s) Integer.parseInt Integer s int money=100000; money 100000 try {
			for(;n>0;n--){
				money*=1.05;
				if (money%1000>0){
					money = ((money/1000)+1)*1000;
				}
			}
			System.out.println(money);
		} catch (Exception err) {
			System.exit(0);
		} catch (Exception err) {
			System.exit(0);
		} Exception err {
			System.exit(0);
		} System.exit(0) System.exit System 0 {
			for(;n>0;n--){
				money*=1.05;
				if (money%1000>0){
					money = ((money/1000)+1)*1000;
				}
			}
			System.out.println(money);
		} for(;n>0;n--){
				money*=1.05;
				if (money%1000>0){
					money = ((money/1000)+1)*1000;
				}
			} ; n>0 n 0 n-- n-- n {
				money*=1.05;
				if (money%1000>0){
					money = ((money/1000)+1)*1000;
				}
			} {
				money*=1.05;
				if (money%1000>0){
					money = ((money/1000)+1)*1000;
				}
			} money*=1.05 money 1.05 if (money%1000>0){
					money = ((money/1000)+1)*1000;
				} money%1000>0 money%1000 money 1000 0 {
					money = ((money/1000)+1)*1000;
				} money = ((money/1000)+1)*1000 money ((money/1000)+1)*1000 ((money/1000)+1) (money/1000) money 1000 1 1000 System.out.println(money) System.out.println System.out System System.out money String[] args args
import java.io.*;

class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
		String s=r.readLine();
		int n = Integer.parseInt(s);
		int money=100000;
		try {
			for(;n>0;n--){
				money*=1.05;
				if (money%1000>0){
					money = ((money/1000)+1)*1000;
				}
			}
			System.out.println(money);
		} catch (Exception err) {
			System.exit(0);
		}
	}
}