import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);

		int weekNum = sc.nextInt();

		int debt = 100000;
		int roundUpNum = 1000;

		for (int i = 0; i < weekNum; i++) {
			debt *= 1.05;

			debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;
		}
		System.out.println(debt);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);

		int weekNum = sc.nextInt();

		int debt = 100000;
		int roundUpNum = 1000;

		for (int i = 0; i < weekNum; i++) {
			debt *= 1.05;

			debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;
		}
		System.out.println(debt);
	}
} Main public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);

		int weekNum = sc.nextInt();

		int debt = 100000;
		int roundUpNum = 1000;

		for (int i = 0; i < weekNum; i++) {
			debt *= 1.05;

			debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;
		}
		System.out.println(debt);
	} main {
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);

		int weekNum = sc.nextInt();

		int debt = 100000;
		int roundUpNum = 1000;

		for (int i = 0; i < weekNum; i++) {
			debt *= 1.05;

			debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;
		}
		System.out.println(debt);
	} @SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int weekNum = sc.nextInt(); weekNum sc.nextInt() sc.nextInt sc int debt = 100000; debt 100000 int roundUpNum = 1000; roundUpNum 1000 for (int i = 0; i < weekNum; i++) {
			debt *= 1.05;

			debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;
		} int i = 0; int i = 0; i 0 i < weekNum i weekNum i++ i++ i {
			debt *= 1.05;

			debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;
		} {
			debt *= 1.05;

			debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;
		} debt *= 1.05 debt 1.05 debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum debt (int) Math.ceil((double) debt / roundUpNum) * roundUpNum (int) Math.ceil((double) debt / roundUpNum) Math.ceil Math (double) debt / roundUpNum (double) debt roundUpNum roundUpNum System.out.println(debt) System.out.println System.out System System.out debt String[] args args public class Main {

	public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);

		int weekNum = sc.nextInt();

		int debt = 100000;
		int roundUpNum = 1000;

		for (int i = 0; i < weekNum; i++) {
			debt *= 1.05;

			debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;
		}
		System.out.println(debt);
	}
} public class Main {

	public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);

		int weekNum = sc.nextInt();

		int debt = 100000;
		int roundUpNum = 1000;

		for (int i = 0; i < weekNum; i++) {
			debt *= 1.05;

			debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;
		}
		System.out.println(debt);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);

		int weekNum = sc.nextInt();

		int debt = 100000;
		int roundUpNum = 1000;

		for (int i = 0; i < weekNum; i++) {
			debt *= 1.05;

			debt = (int) Math.ceil((double) debt / roundUpNum) * roundUpNum;
		}
		System.out.println(debt);
	}
}