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

public class Main{
	public static void main(String[] args) throws NumberFormatException, IOException {
		int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());
		int val = 100;//壱百千円
		double exactVal;
		for (; 0 < period; period--) {
			exactVal = val * 1.05;
			val = (int) (exactVal - (int) exactVal > 0 ? exactVal + 1 : exactVal);
		}
		System.out.println(val * 1000);
	}
} 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 NumberFormatException, IOException {
		int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());
		int val = 100;//壱百千円
		double exactVal;
		for (; 0 < period; period--) {
			exactVal = val * 1.05;
			val = (int) (exactVal - (int) exactVal > 0 ? exactVal + 1 : exactVal);
		}
		System.out.println(val * 1000);
	}
} Main public static void main(String[] args) throws NumberFormatException, IOException {
		int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());
		int val = 100;//壱百千円
		double exactVal;
		for (; 0 < period; period--) {
			exactVal = val * 1.05;
			val = (int) (exactVal - (int) exactVal > 0 ? exactVal + 1 : exactVal);
		}
		System.out.println(val * 1000);
	} main {
		int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());
		int val = 100;//壱百千円
		double exactVal;
		for (; 0 < period; period--) {
			exactVal = val * 1.05;
			val = (int) (exactVal - (int) exactVal > 0 ? exactVal + 1 : exactVal);
		}
		System.out.println(val * 1000);
	} int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine()); period Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine()) Integer.parseInt Integer new BufferedReader(new InputStreamReader(System.in)).readLine() new BufferedReader(new InputStreamReader(System.in)).readLine new BufferedReader(new InputStreamReader(System.in)) int val = 100; val 100 double exactVal; exactVal for (; 0 < period; period--) {
			exactVal = val * 1.05;
			val = (int) (exactVal - (int) exactVal > 0 ? exactVal + 1 : exactVal);
		} ; 0 < period 0 period period-- period-- period {
			exactVal = val * 1.05;
			val = (int) (exactVal - (int) exactVal > 0 ? exactVal + 1 : exactVal);
		} {
			exactVal = val * 1.05;
			val = (int) (exactVal - (int) exactVal > 0 ? exactVal + 1 : exactVal);
		} exactVal = val * 1.05 exactVal val * 1.05 val 1.05 val = (int) (exactVal - (int) exactVal > 0 ? exactVal + 1 : exactVal) val (int) (exactVal - (int) exactVal > 0 ? exactVal + 1 : exactVal) exactVal - (int) exactVal > 0 exactVal - (int) exactVal exactVal (int) exactVal 0 exactVal + 1 exactVal 1 exactVal System.out.println(val * 1000) System.out.println System.out System System.out val * 1000 val 1000 String[] args args public class Main{
	public static void main(String[] args) throws NumberFormatException, IOException {
		int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());
		int val = 100;//壱百千円
		double exactVal;
		for (; 0 < period; period--) {
			exactVal = val * 1.05;
			val = (int) (exactVal - (int) exactVal > 0 ? exactVal + 1 : exactVal);
		}
		System.out.println(val * 1000);
	}
} public class Main{
	public static void main(String[] args) throws NumberFormatException, IOException {
		int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());
		int val = 100;//壱百千円
		double exactVal;
		for (; 0 < period; period--) {
			exactVal = val * 1.05;
			val = (int) (exactVal - (int) exactVal > 0 ? exactVal + 1 : exactVal);
		}
		System.out.println(val * 1000);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main{
	public static void main(String[] args) throws NumberFormatException, IOException {
		int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine());
		int val = 100;//壱百千円
		double exactVal;
		for (; 0 < period; period--) {
			exactVal = val * 1.05;
			val = (int) (exactVal - (int) exactVal > 0 ? exactVal + 1 : exactVal);
		}
		System.out.println(val * 1000);
	}
}