import java.io.IOException;
import java.util.Scanner;

public class Main {
	private static final int debt = 100000;

	public static void main(String[] a) throws IOException {
		Scanner sc = new Scanner(System.in);
		int len = sc.nextInt();
		int debtSum = debt;
		for (int i = 0; i < len; i++) {
			debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);
		}
		System.out.println(debtSum);
	}
} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {
	private static final int debt = 100000;

	public static void main(String[] a) throws IOException {
		Scanner sc = new Scanner(System.in);
		int len = sc.nextInt();
		int debtSum = debt;
		for (int i = 0; i < len; i++) {
			debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);
		}
		System.out.println(debtSum);
	}
} Main private static final int debt = 100000; debt 100000 public static void main(String[] a) throws IOException {
		Scanner sc = new Scanner(System.in);
		int len = sc.nextInt();
		int debtSum = debt;
		for (int i = 0; i < len; i++) {
			debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);
		}
		System.out.println(debtSum);
	} main {
		Scanner sc = new Scanner(System.in);
		int len = sc.nextInt();
		int debtSum = debt;
		for (int i = 0; i < len; i++) {
			debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);
		}
		System.out.println(debtSum);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int len = sc.nextInt(); len sc.nextInt() sc.nextInt sc int debtSum = debt; debtSum debt for (int i = 0; i < len; i++) {
			debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);
		} int i = 0; int i = 0; i 0 i < len i len i++ i++ i {
			debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);
		} {
			debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);
		} debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000) debtSum (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000) Math.ceil((debtSum * 1.05) / 1000) Math.ceil Math (debtSum * 1.05) / 1000 (debtSum * 1.05) debtSum 1.05 1000 1000 System.out.println(debtSum) System.out.println System.out System System.out debtSum String[] a a public class Main {
	private static final int debt = 100000;

	public static void main(String[] a) throws IOException {
		Scanner sc = new Scanner(System.in);
		int len = sc.nextInt();
		int debtSum = debt;
		for (int i = 0; i < len; i++) {
			debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);
		}
		System.out.println(debtSum);
	}
} public class Main {
	private static final int debt = 100000;

	public static void main(String[] a) throws IOException {
		Scanner sc = new Scanner(System.in);
		int len = sc.nextInt();
		int debtSum = debt;
		for (int i = 0; i < len; i++) {
			debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);
		}
		System.out.println(debtSum);
	}
} Main
import java.io.IOException;
import java.util.Scanner;

public class Main {
	private static final int debt = 100000;

	public static void main(String[] a) throws IOException {
		Scanner sc = new Scanner(System.in);
		int len = sc.nextInt();
		int debtSum = debt;
		for (int i = 0; i < len; i++) {
			debtSum = (int) (Math.ceil((debtSum * 1.05) / 1000) * 1000);
		}
		System.out.println(debtSum);
	}
}