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

public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		int n;
		double money = 100000;

		str=br.readLine();
		n=Integer.parseInt(str);
		
		while(n>0){
			money = money*1.05;
			money = (Math.ceil(money/1000))*1000;
			n--;
		}
		System.out.println((int)money);
	}

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

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		int n;
		double money = 100000;

		str=br.readLine();
		n=Integer.parseInt(str);
		
		while(n>0){
			money = money*1.05;
			money = (Math.ceil(money/1000))*1000;
			n--;
		}
		System.out.println((int)money);
	}

} Main public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		int n;
		double money = 100000;

		str=br.readLine();
		n=Integer.parseInt(str);
		
		while(n>0){
			money = money*1.05;
			money = (Math.ceil(money/1000))*1000;
			n--;
		}
		System.out.println((int)money);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		int n;
		double money = 100000;

		str=br.readLine();
		n=Integer.parseInt(str);
		
		while(n>0){
			money = money*1.05;
			money = (Math.ceil(money/1000))*1000;
			n--;
		}
		System.out.println((int)money);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str; str int n; n double money = 100000; money 100000 str=br.readLine() str br.readLine() br.readLine br n=Integer.parseInt(str) n Integer.parseInt(str) Integer.parseInt Integer str while(n>0){
			money = money*1.05;
			money = (Math.ceil(money/1000))*1000;
			n--;
		} n>0 n 0 {
			money = money*1.05;
			money = (Math.ceil(money/1000))*1000;
			n--;
		} money = money*1.05 money money*1.05 money 1.05 money = (Math.ceil(money/1000))*1000 money (Math.ceil(money/1000))*1000 (Math.ceil(money/1000)) Math.ceil Math money/1000 money 1000 1000 n-- n System.out.println((int)money) System.out.println System.out System System.out (int)money String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		int n;
		double money = 100000;

		str=br.readLine();
		n=Integer.parseInt(str);
		
		while(n>0){
			money = money*1.05;
			money = (Math.ceil(money/1000))*1000;
			n--;
		}
		System.out.println((int)money);
	}

} public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		int n;
		double money = 100000;

		str=br.readLine();
		n=Integer.parseInt(str);
		
		while(n>0){
			money = money*1.05;
			money = (Math.ceil(money/1000))*1000;
			n--;
		}
		System.out.println((int)money);
	}

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

public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		int n;
		double money = 100000;

		str=br.readLine();
		n=Integer.parseInt(str);
		
		while(n>0){
			money = money*1.05;
			money = (Math.ceil(money/1000))*1000;
			n--;
		}
		System.out.println((int)money);
	}

}