import java.util.Scanner;

public class Main {
	public static void main(String args[]) {
		Scanner in = new Scanner(System.in);
		int inputNum = in.nextInt();
		System.out.println(getNowShakkin(inputNum));
	}

	public static int getNowShakkin(int weekInterval) {
		double result = 100;

		for (int i = 0; i < weekInterval; i++) {
			result = result*1.05;
			result = (Math.ceil((double) result));
		}

		return (int)result * 1000;
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String args[]) {
		Scanner in = new Scanner(System.in);
		int inputNum = in.nextInt();
		System.out.println(getNowShakkin(inputNum));
	}

	public static int getNowShakkin(int weekInterval) {
		double result = 100;

		for (int i = 0; i < weekInterval; i++) {
			result = result*1.05;
			result = (Math.ceil((double) result));
		}

		return (int)result * 1000;
	}
} Main public static void main(String args[]) {
		Scanner in = new Scanner(System.in);
		int inputNum = in.nextInt();
		System.out.println(getNowShakkin(inputNum));
	} main {
		Scanner in = new Scanner(System.in);
		int inputNum = in.nextInt();
		System.out.println(getNowShakkin(inputNum));
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int inputNum = in.nextInt(); inputNum in.nextInt() in.nextInt in System.out.println(getNowShakkin(inputNum)) System.out.println System.out System System.out getNowShakkin(inputNum) getNowShakkin inputNum String args[] args public static int getNowShakkin(int weekInterval) {
		double result = 100;

		for (int i = 0; i < weekInterval; i++) {
			result = result*1.05;
			result = (Math.ceil((double) result));
		}

		return (int)result * 1000;
	} getNowShakkin {
		double result = 100;

		for (int i = 0; i < weekInterval; i++) {
			result = result*1.05;
			result = (Math.ceil((double) result));
		}

		return (int)result * 1000;
	} double result = 100; result 100 for (int i = 0; i < weekInterval; i++) {
			result = result*1.05;
			result = (Math.ceil((double) result));
		} int i = 0; int i = 0; i 0 i < weekInterval i weekInterval i++ i++ i {
			result = result*1.05;
			result = (Math.ceil((double) result));
		} {
			result = result*1.05;
			result = (Math.ceil((double) result));
		} result = result*1.05 result result*1.05 result 1.05 result = (Math.ceil((double) result)) result (Math.ceil((double) result)) Math.ceil Math (double) result return (int)result * 1000; (int)result * 1000 (int)result 1000 int weekInterval weekInterval public class Main {
	public static void main(String args[]) {
		Scanner in = new Scanner(System.in);
		int inputNum = in.nextInt();
		System.out.println(getNowShakkin(inputNum));
	}

	public static int getNowShakkin(int weekInterval) {
		double result = 100;

		for (int i = 0; i < weekInterval; i++) {
			result = result*1.05;
			result = (Math.ceil((double) result));
		}

		return (int)result * 1000;
	}
} public class Main {
	public static void main(String args[]) {
		Scanner in = new Scanner(System.in);
		int inputNum = in.nextInt();
		System.out.println(getNowShakkin(inputNum));
	}

	public static int getNowShakkin(int weekInterval) {
		double result = 100;

		for (int i = 0; i < weekInterval; i++) {
			result = result*1.05;
			result = (Math.ceil((double) result));
		}

		return (int)result * 1000;
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String args[]) {
		Scanner in = new Scanner(System.in);
		int inputNum = in.nextInt();
		System.out.println(getNowShakkin(inputNum));
	}

	public static int getNowShakkin(int weekInterval) {
		double result = 100;

		for (int i = 0; i < weekInterval; i++) {
			result = result*1.05;
			result = (Math.ceil((double) result));
		}

		return (int)result * 1000;
	}
}