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), 128).readLine());
		short val = 100;//壱百千円
		for (; 0 < period; period--) {
			val = (short) Math.ceil(val * 1.05);
		}
		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), 128).readLine());
		short val = 100;//壱百千円
		for (; 0 < period; period--) {
			val = (short) Math.ceil(val * 1.05);
		}
		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), 128).readLine());
		short val = 100;//壱百千円
		for (; 0 < period; period--) {
			val = (short) Math.ceil(val * 1.05);
		}
		System.out.println(val * 1000);
	} main {
		int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine());
		short val = 100;//壱百千円
		for (; 0 < period; period--) {
			val = (short) Math.ceil(val * 1.05);
		}
		System.out.println(val * 1000);
	} int period = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine()); period Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 128).readLine()) Integer.parseInt Integer new BufferedReader(new InputStreamReader(System.in), 128).readLine() new BufferedReader(new InputStreamReader(System.in), 128).readLine new BufferedReader(new InputStreamReader(System.in), 128) short val = 100; val 100 for (; 0 < period; period--) {
			val = (short) Math.ceil(val * 1.05);
		} ; 0 < period 0 period period-- period-- period {
			val = (short) Math.ceil(val * 1.05);
		} {
			val = (short) Math.ceil(val * 1.05);
		} val = (short) Math.ceil(val * 1.05) val (short) Math.ceil(val * 1.05) Math.ceil Math val * 1.05 val 1.05 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), 128).readLine());
		short val = 100;//壱百千円
		for (; 0 < period; period--) {
			val = (short) Math.ceil(val * 1.05);
		}
		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), 128).readLine());
		short val = 100;//壱百千円
		for (; 0 < period; period--) {
			val = (short) Math.ceil(val * 1.05);
		}
		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), 128).readLine());
		short val = 100;//壱百千円
		for (; 0 < period; period--) {
			val = (short) Math.ceil(val * 1.05);
		}
		System.out.println(val * 1000);
	}
}