import java.util.*;
import static java.lang.System.*;

public class Main {

	Scanner sc = new Scanner(in);
	
	void run() {
		int n = sc.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m += (int)Math.ceil(m*0.05/1000)*1000;
		}
		out.println(m);
	}
	
	public static void main(String[] args) {
		new Main().run();
	}

} import java.util.*; util.* java import static java.lang.System.*; import static java.lang.System.*; import static java.lang.System.*; public class Main {

	Scanner sc = new Scanner(in);
	
	void run() {
		int n = sc.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m += (int)Math.ceil(m*0.05/1000)*1000;
		}
		out.println(m);
	}
	
	public static void main(String[] args) {
		new Main().run();
	}

} Main Scanner sc = new Scanner(in); sc new Scanner(in) void run() {
		int n = sc.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m += (int)Math.ceil(m*0.05/1000)*1000;
		}
		out.println(m);
	} run {
		int n = sc.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m += (int)Math.ceil(m*0.05/1000)*1000;
		}
		out.println(m);
	} int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int m = 100000; m 100000 for (int i = 0; i < n; i++) {
			m += (int)Math.ceil(m*0.05/1000)*1000;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			m += (int)Math.ceil(m*0.05/1000)*1000;
		} {
			m += (int)Math.ceil(m*0.05/1000)*1000;
		} m += (int)Math.ceil(m*0.05/1000)*1000 m (int)Math.ceil(m*0.05/1000)*1000 (int)Math.ceil(m*0.05/1000) Math.ceil Math m*0.05/1000 m*0.05 m 0.05 1000 1000 out.println(m) out.println out m public static void main(String[] args) {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args public class Main {

	Scanner sc = new Scanner(in);
	
	void run() {
		int n = sc.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m += (int)Math.ceil(m*0.05/1000)*1000;
		}
		out.println(m);
	}
	
	public static void main(String[] args) {
		new Main().run();
	}

} public class Main {

	Scanner sc = new Scanner(in);
	
	void run() {
		int n = sc.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m += (int)Math.ceil(m*0.05/1000)*1000;
		}
		out.println(m);
	}
	
	public static void main(String[] args) {
		new Main().run();
	}

} Main
import java.util.*;
import static java.lang.System.*;

public class Main {

	Scanner sc = new Scanner(in);
	
	void run() {
		int n = sc.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m += (int)Math.ceil(m*0.05/1000)*1000;
		}
		out.println(m);
	}
	
	public static void main(String[] args) {
		new Main().run();
	}

}