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

public class Main {

	public static void main(String[] args) throws NumberFormatException,
			IOException {
		BufferedReader reader = new BufferedReader(new InputStreamReader(
				System.in));
		int a = Integer.parseInt(reader.readLine());
		int b = 100000;
		for (int i = 0; i < a; i++) {
			b += (int) (Math.ceil(b * 0.05 / 1000) * 1000);
		}
		System.out.println(b);

	}

} 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 NumberFormatException,
			IOException {
		BufferedReader reader = new BufferedReader(new InputStreamReader(
				System.in));
		int a = Integer.parseInt(reader.readLine());
		int b = 100000;
		for (int i = 0; i < a; i++) {
			b += (int) (Math.ceil(b * 0.05 / 1000) * 1000);
		}
		System.out.println(b);

	}

} Main public static void main(String[] args) throws NumberFormatException,
			IOException {
		BufferedReader reader = new BufferedReader(new InputStreamReader(
				System.in));
		int a = Integer.parseInt(reader.readLine());
		int b = 100000;
		for (int i = 0; i < a; i++) {
			b += (int) (Math.ceil(b * 0.05 / 1000) * 1000);
		}
		System.out.println(b);

	} main {
		BufferedReader reader = new BufferedReader(new InputStreamReader(
				System.in));
		int a = Integer.parseInt(reader.readLine());
		int b = 100000;
		for (int i = 0; i < a; i++) {
			b += (int) (Math.ceil(b * 0.05 / 1000) * 1000);
		}
		System.out.println(b);

	} BufferedReader reader = new BufferedReader(new InputStreamReader(
				System.in)); reader new BufferedReader(new InputStreamReader(
				System.in)) int a = Integer.parseInt(reader.readLine()); a Integer.parseInt(reader.readLine()) Integer.parseInt Integer reader.readLine() reader.readLine reader int b = 100000; b 100000 for (int i = 0; i < a; i++) {
			b += (int) (Math.ceil(b * 0.05 / 1000) * 1000);
		} int i = 0; int i = 0; i 0 i < a i a i++ i++ i {
			b += (int) (Math.ceil(b * 0.05 / 1000) * 1000);
		} {
			b += (int) (Math.ceil(b * 0.05 / 1000) * 1000);
		} b += (int) (Math.ceil(b * 0.05 / 1000) * 1000) b (int) (Math.ceil(b * 0.05 / 1000) * 1000) Math.ceil(b * 0.05 / 1000) Math.ceil Math b * 0.05 / 1000 b * 0.05 b 0.05 1000 1000 System.out.println(b) System.out.println System.out System System.out b String[] args args public class Main {

	public static void main(String[] args) throws NumberFormatException,
			IOException {
		BufferedReader reader = new BufferedReader(new InputStreamReader(
				System.in));
		int a = Integer.parseInt(reader.readLine());
		int b = 100000;
		for (int i = 0; i < a; i++) {
			b += (int) (Math.ceil(b * 0.05 / 1000) * 1000);
		}
		System.out.println(b);

	}

} public class Main {

	public static void main(String[] args) throws NumberFormatException,
			IOException {
		BufferedReader reader = new BufferedReader(new InputStreamReader(
				System.in));
		int a = Integer.parseInt(reader.readLine());
		int b = 100000;
		for (int i = 0; i < a; i++) {
			b += (int) (Math.ceil(b * 0.05 / 1000) * 1000);
		}
		System.out.println(b);

	}

} Main

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

public class Main {

	public static void main(String[] args) throws NumberFormatException,
			IOException {
		BufferedReader reader = new BufferedReader(new InputStreamReader(
				System.in));
		int a = Integer.parseInt(reader.readLine());
		int b = 100000;
		for (int i = 0; i < a; i++) {
			b += (int) (Math.ceil(b * 0.05 / 1000) * 1000);
		}
		System.out.println(b);

	}

}