import java.util.*;

class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int debt = 100000;
		int n = scanner.nextInt();
		for (int i = 0; i < n; i++) {
			debt = (int)(debt * 1.05);
			if (debt % 1000 != 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		}
		System.out.println(debt);
	}
} import java.util.*; util.* java class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int debt = 100000;
		int n = scanner.nextInt();
		for (int i = 0; i < n; i++) {
			debt = (int)(debt * 1.05);
			if (debt % 1000 != 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		}
		System.out.println(debt);
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int debt = 100000;
		int n = scanner.nextInt();
		for (int i = 0; i < n; i++) {
			debt = (int)(debt * 1.05);
			if (debt % 1000 != 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		}
		System.out.println(debt);
	} main {
		Scanner scanner = new Scanner(System.in);
		int debt = 100000;
		int n = scanner.nextInt();
		for (int i = 0; i < n; i++) {
			debt = (int)(debt * 1.05);
			if (debt % 1000 != 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		}
		System.out.println(debt);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int debt = 100000; debt 100000 int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner for (int i = 0; i < n; i++) {
			debt = (int)(debt * 1.05);
			if (debt % 1000 != 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			debt = (int)(debt * 1.05);
			if (debt % 1000 != 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		} {
			debt = (int)(debt * 1.05);
			if (debt % 1000 != 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		} debt = (int)(debt * 1.05) debt (int)(debt * 1.05) debt 1.05 if (debt % 1000 != 0) {
				debt = debt - (debt % 1000) + 1000;
			} debt % 1000 != 0 debt % 1000 debt 1000 0 {
				debt = debt - (debt % 1000) + 1000;
			} debt = debt - (debt % 1000) + 1000 debt debt - (debt % 1000) + 1000 debt - (debt % 1000) debt (debt % 1000) debt 1000 1000 System.out.println(debt) System.out.println System.out System System.out debt String[] args args
import java.util.*;

class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int debt = 100000;
		int n = scanner.nextInt();
		for (int i = 0; i < n; i++) {
			debt = (int)(debt * 1.05);
			if (debt % 1000 != 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		}
		System.out.println(debt);
	}
}