import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			int i;
			int cnt = sc.nextInt();
			double ret = 100;
			for (i = 0; i < cnt; i++) {
				ret = ret + ret * 0.05;
				ret = Math.ceil(ret);
			}
			System.out.println((int) ret * 1000);
		}
	}
} import java.util.Scanner; Scanner java.util class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			int i;
			int cnt = sc.nextInt();
			double ret = 100;
			for (i = 0; i < cnt; i++) {
				ret = ret + ret * 0.05;
				ret = Math.ceil(ret);
			}
			System.out.println((int) ret * 1000);
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			int i;
			int cnt = sc.nextInt();
			double ret = 100;
			for (i = 0; i < cnt; i++) {
				ret = ret + ret * 0.05;
				ret = Math.ceil(ret);
			}
			System.out.println((int) ret * 1000);
		}
	} main {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			int i;
			int cnt = sc.nextInt();
			double ret = 100;
			for (i = 0; i < cnt; i++) {
				ret = ret + ret * 0.05;
				ret = Math.ceil(ret);
			}
			System.out.println((int) ret * 1000);
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while (sc.hasNext()) {
			int i;
			int cnt = sc.nextInt();
			double ret = 100;
			for (i = 0; i < cnt; i++) {
				ret = ret + ret * 0.05;
				ret = Math.ceil(ret);
			}
			System.out.println((int) ret * 1000);
		} sc.hasNext() sc.hasNext sc {
			int i;
			int cnt = sc.nextInt();
			double ret = 100;
			for (i = 0; i < cnt; i++) {
				ret = ret + ret * 0.05;
				ret = Math.ceil(ret);
			}
			System.out.println((int) ret * 1000);
		} int i; i int cnt = sc.nextInt(); cnt sc.nextInt() sc.nextInt sc double ret = 100; ret 100 for (i = 0; i < cnt; i++) {
				ret = ret + ret * 0.05;
				ret = Math.ceil(ret);
			} i = 0; i = 0 i 0 i < cnt i cnt i++ i++ i {
				ret = ret + ret * 0.05;
				ret = Math.ceil(ret);
			} {
				ret = ret + ret * 0.05;
				ret = Math.ceil(ret);
			} ret = ret + ret * 0.05 ret ret + ret * 0.05 ret ret * 0.05 ret 0.05 ret = Math.ceil(ret) ret Math.ceil(ret) Math.ceil Math ret System.out.println((int) ret * 1000) System.out.println System.out System System.out (int) ret * 1000 (int) ret 1000 String[] args args
import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			int i;
			int cnt = sc.nextInt();
			double ret = 100;
			for (i = 0; i < cnt; i++) {
				ret = ret + ret * 0.05;
				ret = Math.ceil(ret);
			}
			System.out.println((int) ret * 1000);
		}
	}
}