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


public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		double money = 100000;
		BufferedReader bufReader =
				new BufferedReader(new InputStreamReader(System.in));
		int weeks = Integer.parseInt(bufReader.readLine());
		for (int i = 0; i < weeks; i++) {
			money *= 1.05;
			money /= 1000.0D;
			BigDecimal bd = new BigDecimal(money);
			money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();
			money *= 1000;
		}
		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 import java.math.BigDecimal; BigDecimal java.math public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		double money = 100000;
		BufferedReader bufReader =
				new BufferedReader(new InputStreamReader(System.in));
		int weeks = Integer.parseInt(bufReader.readLine());
		for (int i = 0; i < weeks; i++) {
			money *= 1.05;
			money /= 1000.0D;
			BigDecimal bd = new BigDecimal(money);
			money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();
			money *= 1000;
		}
		System.out.println((int) money);
	}

} Main public static void main(String[] args) throws NumberFormatException, IOException {
		double money = 100000;
		BufferedReader bufReader =
				new BufferedReader(new InputStreamReader(System.in));
		int weeks = Integer.parseInt(bufReader.readLine());
		for (int i = 0; i < weeks; i++) {
			money *= 1.05;
			money /= 1000.0D;
			BigDecimal bd = new BigDecimal(money);
			money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();
			money *= 1000;
		}
		System.out.println((int) money);
	} main {
		double money = 100000;
		BufferedReader bufReader =
				new BufferedReader(new InputStreamReader(System.in));
		int weeks = Integer.parseInt(bufReader.readLine());
		for (int i = 0; i < weeks; i++) {
			money *= 1.05;
			money /= 1000.0D;
			BigDecimal bd = new BigDecimal(money);
			money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();
			money *= 1000;
		}
		System.out.println((int) money);
	} double money = 100000; money 100000 BufferedReader bufReader =
				new BufferedReader(new InputStreamReader(System.in)); bufReader new BufferedReader(new InputStreamReader(System.in)) int weeks = Integer.parseInt(bufReader.readLine()); weeks Integer.parseInt(bufReader.readLine()) Integer.parseInt Integer bufReader.readLine() bufReader.readLine bufReader for (int i = 0; i < weeks; i++) {
			money *= 1.05;
			money /= 1000.0D;
			BigDecimal bd = new BigDecimal(money);
			money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();
			money *= 1000;
		} int i = 0; int i = 0; i 0 i < weeks i weeks i++ i++ i {
			money *= 1.05;
			money /= 1000.0D;
			BigDecimal bd = new BigDecimal(money);
			money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();
			money *= 1000;
		} {
			money *= 1.05;
			money /= 1000.0D;
			BigDecimal bd = new BigDecimal(money);
			money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();
			money *= 1000;
		} money *= 1.05 money 1.05 money /= 1000.0D money 1000.0D BigDecimal bd = new BigDecimal(money); bd new BigDecimal(money) money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue() money bd.setScale(0, BigDecimal.ROUND_UP).doubleValue() bd.setScale(0, BigDecimal.ROUND_UP).doubleValue bd.setScale(0, BigDecimal.ROUND_UP) bd.setScale bd 0 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP money *= 1000 money 1000 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 NumberFormatException, IOException {
		double money = 100000;
		BufferedReader bufReader =
				new BufferedReader(new InputStreamReader(System.in));
		int weeks = Integer.parseInt(bufReader.readLine());
		for (int i = 0; i < weeks; i++) {
			money *= 1.05;
			money /= 1000.0D;
			BigDecimal bd = new BigDecimal(money);
			money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();
			money *= 1000;
		}
		System.out.println((int) money);
	}

} public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		double money = 100000;
		BufferedReader bufReader =
				new BufferedReader(new InputStreamReader(System.in));
		int weeks = Integer.parseInt(bufReader.readLine());
		for (int i = 0; i < weeks; i++) {
			money *= 1.05;
			money /= 1000.0D;
			BigDecimal bd = new BigDecimal(money);
			money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();
			money *= 1000;
		}
		System.out.println((int) money);
	}

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


public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		double money = 100000;
		BufferedReader bufReader =
				new BufferedReader(new InputStreamReader(System.in));
		int weeks = Integer.parseInt(bufReader.readLine());
		for (int i = 0; i < weeks; i++) {
			money *= 1.05;
			money /= 1000.0D;
			BigDecimal bd = new BigDecimal(money);
			money = bd.setScale(0, BigDecimal.ROUND_UP).doubleValue();
			money *= 1000;
		}
		System.out.println((int) money);
	}

}