import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());

		int dept = 100000; // 10万円の借金

		for (int i = 0; i < n; i++) {
			dept *= 1.05; // 5%の利子

			// 1000未満を切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) + 1;
				dept *= 1000;
			}

		}

		System.out.println(dept);
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());

		int dept = 100000; // 10万円の借金

		for (int i = 0; i < n; i++) {
			dept *= 1.05; // 5%の利子

			// 1000未満を切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) + 1;
				dept *= 1000;
			}

		}

		System.out.println(dept);
	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());

		int dept = 100000; // 10万円の借金

		for (int i = 0; i < n; i++) {
			dept *= 1.05; // 5%の利子

			// 1000未満を切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) + 1;
				dept *= 1000;
			}

		}

		System.out.println(dept);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());

		int dept = 100000; // 10万円の借金

		for (int i = 0; i < n; i++) {
			dept *= 1.05; // 5%の利子

			// 1000未満を切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) + 1;
				dept *= 1000;
			}

		}

		System.out.println(dept);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int dept = 100000; dept 100000 for (int i = 0; i < n; i++) {
			dept *= 1.05; // 5%の利子

			// 1000未満を切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) + 1;
				dept *= 1000;
			}

		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			dept *= 1.05; // 5%の利子

			// 1000未満を切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) + 1;
				dept *= 1000;
			}

		} {
			dept *= 1.05; // 5%の利子

			// 1000未満を切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) + 1;
				dept *= 1000;
			}

		} dept *= 1.05 dept 1.05 if (dept % 1000 != 0) {
				dept = (dept / 1000) + 1;
				dept *= 1000;
			} dept % 1000 != 0 dept % 1000 dept 1000 0 {
				dept = (dept / 1000) + 1;
				dept *= 1000;
			} dept = (dept / 1000) + 1 dept (dept / 1000) + 1 (dept / 1000) dept 1000 1 dept *= 1000 dept 1000 System.out.println(dept) System.out.println System.out System System.out dept String[] args args public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());

		int dept = 100000; // 10万円の借金

		for (int i = 0; i < n; i++) {
			dept *= 1.05; // 5%の利子

			// 1000未満を切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) + 1;
				dept *= 1000;
			}

		}

		System.out.println(dept);
	}

} public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());

		int dept = 100000; // 10万円の借金

		for (int i = 0; i < n; i++) {
			dept *= 1.05; // 5%の利子

			// 1000未満を切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) + 1;
				dept *= 1000;
			}

		}

		System.out.println(dept);
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());

		int dept = 100000; // 10万円の借金

		for (int i = 0; i < n; i++) {
			dept *= 1.05; // 5%の利子

			// 1000未満を切り上げ
			if (dept % 1000 != 0) {
				dept = (dept / 1000) + 1;
				dept *= 1000;
			}

		}

		System.out.println(dept);
	}

}