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

public class Main {

	public static void main(String[] a) throws IOException{

		String strLine ="";
		BufferedReader stdReader =
				new BufferedReader(new InputStreamReader(System.in));

		int week = 0;
		double lentMoney = 100000;

		while  ((strLine = stdReader.readLine()) != null) {
			week = Integer.parseInt(strLine);
		}

		for(int i = 0; i < week ; i++){
			lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;
		}
			//1000???????????????????????????
			int n = (int) lentMoney;

			System.out.println(n);

	}

} 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[] a) throws IOException{

		String strLine ="";
		BufferedReader stdReader =
				new BufferedReader(new InputStreamReader(System.in));

		int week = 0;
		double lentMoney = 100000;

		while  ((strLine = stdReader.readLine()) != null) {
			week = Integer.parseInt(strLine);
		}

		for(int i = 0; i < week ; i++){
			lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;
		}
			//1000???????????????????????????
			int n = (int) lentMoney;

			System.out.println(n);

	}

} Main public static void main(String[] a) throws IOException{

		String strLine ="";
		BufferedReader stdReader =
				new BufferedReader(new InputStreamReader(System.in));

		int week = 0;
		double lentMoney = 100000;

		while  ((strLine = stdReader.readLine()) != null) {
			week = Integer.parseInt(strLine);
		}

		for(int i = 0; i < week ; i++){
			lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;
		}
			//1000???????????????????????????
			int n = (int) lentMoney;

			System.out.println(n);

	} main {

		String strLine ="";
		BufferedReader stdReader =
				new BufferedReader(new InputStreamReader(System.in));

		int week = 0;
		double lentMoney = 100000;

		while  ((strLine = stdReader.readLine()) != null) {
			week = Integer.parseInt(strLine);
		}

		for(int i = 0; i < week ; i++){
			lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;
		}
			//1000???????????????????????????
			int n = (int) lentMoney;

			System.out.println(n);

	} String strLine =""; strLine "" BufferedReader stdReader =
				new BufferedReader(new InputStreamReader(System.in)); stdReader new BufferedReader(new InputStreamReader(System.in)) int week = 0; week 0 double lentMoney = 100000; lentMoney 100000 while  ((strLine = stdReader.readLine()) != null) {
			week = Integer.parseInt(strLine);
		} (strLine = stdReader.readLine()) != null (strLine = stdReader.readLine()) strLine stdReader.readLine() stdReader.readLine stdReader null {
			week = Integer.parseInt(strLine);
		} week = Integer.parseInt(strLine) week Integer.parseInt(strLine) Integer.parseInt Integer strLine for(int i = 0; i < week ; i++){
			lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;
		} int i = 0; int i = 0; i 0 i < week i week i++ i++ i {
			lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;
		} {
			lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;
		} lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000 lentMoney Math.ceil((lentMoney/1000) * 1.05) *1000 Math.ceil((lentMoney/1000) * 1.05) Math.ceil Math (lentMoney/1000) * 1.05 (lentMoney/1000) lentMoney 1000 1.05 1000 int n = (int) lentMoney; n (int) lentMoney System.out.println(n) System.out.println System.out System System.out n String[] a a public class Main {

	public static void main(String[] a) throws IOException{

		String strLine ="";
		BufferedReader stdReader =
				new BufferedReader(new InputStreamReader(System.in));

		int week = 0;
		double lentMoney = 100000;

		while  ((strLine = stdReader.readLine()) != null) {
			week = Integer.parseInt(strLine);
		}

		for(int i = 0; i < week ; i++){
			lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;
		}
			//1000???????????????????????????
			int n = (int) lentMoney;

			System.out.println(n);

	}

} public class Main {

	public static void main(String[] a) throws IOException{

		String strLine ="";
		BufferedReader stdReader =
				new BufferedReader(new InputStreamReader(System.in));

		int week = 0;
		double lentMoney = 100000;

		while  ((strLine = stdReader.readLine()) != null) {
			week = Integer.parseInt(strLine);
		}

		for(int i = 0; i < week ; i++){
			lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;
		}
			//1000???????????????????????????
			int n = (int) lentMoney;

			System.out.println(n);

	}

} Main

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

public class Main {

	public static void main(String[] a) throws IOException{

		String strLine ="";
		BufferedReader stdReader =
				new BufferedReader(new InputStreamReader(System.in));

		int week = 0;
		double lentMoney = 100000;

		while  ((strLine = stdReader.readLine()) != null) {
			week = Integer.parseInt(strLine);
		}

		for(int i = 0; i < week ; i++){
			lentMoney = Math.ceil((lentMoney/1000) * 1.05) *1000;
		}
			//1000???????????????????????????
			int n = (int) lentMoney;

			System.out.println(n);

	}

}