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

public class Main {

	static double debt = 100000;

	public static void main(String[] args) throws IOException {

		int n;
		double hell = debt;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine());

		for (int i = 1; i <= n; i++) {
			hell += hell * 0.05;
			hell = Math.ceil(hell / 1000) * 1000;
		}

		System.out.println((int) hell);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	static double debt = 100000;

	public static void main(String[] args) throws IOException {

		int n;
		double hell = debt;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine());

		for (int i = 1; i <= n; i++) {
			hell += hell * 0.05;
			hell = Math.ceil(hell / 1000) * 1000;
		}

		System.out.println((int) hell);
	}
} Main static double debt = 100000; debt 100000 public static void main(String[] args) throws IOException {

		int n;
		double hell = debt;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine());

		for (int i = 1; i <= n; i++) {
			hell += hell * 0.05;
			hell = Math.ceil(hell / 1000) * 1000;
		}

		System.out.println((int) hell);
	} main {

		int n;
		double hell = debt;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine());

		for (int i = 1; i <= n; i++) {
			hell += hell * 0.05;
			hell = Math.ceil(hell / 1000) * 1000;
		}

		System.out.println((int) hell);
	} int n; n double hell = debt; hell debt BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) n = Integer.parseInt(br.readLine()) n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br for (int i = 1; i <= n; i++) {
			hell += hell * 0.05;
			hell = Math.ceil(hell / 1000) * 1000;
		} int i = 1; int i = 1; i 1 i <= n i n i++ i++ i {
			hell += hell * 0.05;
			hell = Math.ceil(hell / 1000) * 1000;
		} {
			hell += hell * 0.05;
			hell = Math.ceil(hell / 1000) * 1000;
		} hell += hell * 0.05 hell hell * 0.05 hell 0.05 hell = Math.ceil(hell / 1000) * 1000 hell Math.ceil(hell / 1000) * 1000 Math.ceil(hell / 1000) Math.ceil Math hell / 1000 hell 1000 1000 System.out.println((int) hell) System.out.println System.out System System.out (int) hell String[] args args public class Main {

	static double debt = 100000;

	public static void main(String[] args) throws IOException {

		int n;
		double hell = debt;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine());

		for (int i = 1; i <= n; i++) {
			hell += hell * 0.05;
			hell = Math.ceil(hell / 1000) * 1000;
		}

		System.out.println((int) hell);
	}
} public class Main {

	static double debt = 100000;

	public static void main(String[] args) throws IOException {

		int n;
		double hell = debt;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine());

		for (int i = 1; i <= n; i++) {
			hell += hell * 0.05;
			hell = Math.ceil(hell / 1000) * 1000;
		}

		System.out.println((int) hell);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	static double debt = 100000;

	public static void main(String[] args) throws IOException {

		int n;
		double hell = debt;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		n = Integer.parseInt(br.readLine());

		for (int i = 1; i <= n; i++) {
			hell += hell * 0.05;
			hell = Math.ceil(hell / 1000) * 1000;
		}

		System.out.println((int) hell);
	}
}