import java.util.Scanner;

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

	static int debtHell(int n) {
		double debt = 100000;
		for (int i = 0; i < n; i++) {
			debt *= 1.05;
			//System.out.print(debt);
			debt = Math.ceil(debt / 1000.0) * 1000;
			//System.out.println("\t" + debt);
		}
		return (int) debt;
	}
} import java.util.Scanner; Scanner java.util class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		in.close();
		System.out.println(debtHell(n));
	}

	static int debtHell(int n) {
		double debt = 100000;
		for (int i = 0; i < n; i++) {
			debt *= 1.05;
			//System.out.print(debt);
			debt = Math.ceil(debt / 1000.0) * 1000;
			//System.out.println("\t" + debt);
		}
		return (int) debt;
	}
} Main public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		in.close();
		System.out.println(debtHell(n));
	} main {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		in.close();
		System.out.println(debtHell(n));
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int n = in.nextInt(); n in.nextInt() in.nextInt in in.close() in.close in System.out.println(debtHell(n)) System.out.println System.out System System.out debtHell(n) debtHell n String[] args args static int debtHell(int n) {
		double debt = 100000;
		for (int i = 0; i < n; i++) {
			debt *= 1.05;
			//System.out.print(debt);
			debt = Math.ceil(debt / 1000.0) * 1000;
			//System.out.println("\t" + debt);
		}
		return (int) debt;
	} debtHell {
		double debt = 100000;
		for (int i = 0; i < n; i++) {
			debt *= 1.05;
			//System.out.print(debt);
			debt = Math.ceil(debt / 1000.0) * 1000;
			//System.out.println("\t" + debt);
		}
		return (int) debt;
	} double debt = 100000; debt 100000 for (int i = 0; i < n; i++) {
			debt *= 1.05;
			//System.out.print(debt);
			debt = Math.ceil(debt / 1000.0) * 1000;
			//System.out.println("\t" + debt);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			debt *= 1.05;
			//System.out.print(debt);
			debt = Math.ceil(debt / 1000.0) * 1000;
			//System.out.println("\t" + debt);
		} {
			debt *= 1.05;
			//System.out.print(debt);
			debt = Math.ceil(debt / 1000.0) * 1000;
			//System.out.println("\t" + debt);
		} debt *= 1.05 debt 1.05 debt = Math.ceil(debt / 1000.0) * 1000 debt Math.ceil(debt / 1000.0) * 1000 Math.ceil(debt / 1000.0) Math.ceil Math debt / 1000.0 debt 1000.0 1000 return (int) debt; (int) debt int n n
import java.util.Scanner;

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

	static int debtHell(int n) {
		double debt = 100000;
		for (int i = 0; i < n; i++) {
			debt *= 1.05;
			//System.out.print(debt);
			debt = Math.ceil(debt / 1000.0) * 1000;
			//System.out.println("\t" + debt);
		}
		return (int) debt;
	}
}