import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			long amount = 100000;
			for (int i = 0; i < n; i++) {
				amount *= 1.05;
				amount += 999;
				amount /= 1000;
				amount *= 1000;
			}
			System.out.println(amount);
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			long amount = 100000;
			for (int i = 0; i < n; i++) {
				amount *= 1.05;
				amount += 999;
				amount /= 1000;
				amount *= 1000;
			}
			System.out.println(amount);
		}
	}
} Main public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			long amount = 100000;
			for (int i = 0; i < n; i++) {
				amount *= 1.05;
				amount += 999;
				amount /= 1000;
				amount *= 1000;
			}
			System.out.println(amount);
		}
	} main {
		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			long amount = 100000;
			for (int i = 0; i < n; i++) {
				amount *= 1.05;
				amount += 999;
				amount /= 1000;
				amount *= 1000;
			}
			System.out.println(amount);
		}
	} try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			long amount = 100000;
			for (int i = 0; i < n; i++) {
				amount *= 1.05;
				amount += 999;
				amount /= 1000;
				amount *= 1000;
			}
			System.out.println(amount);
		} {
			int n = sc.nextInt();
			long amount = 100000;
			for (int i = 0; i < n; i++) {
				amount *= 1.05;
				amount += 999;
				amount /= 1000;
				amount *= 1000;
			}
			System.out.println(amount);
		} Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc long amount = 100000; amount 100000 for (int i = 0; i < n; i++) {
				amount *= 1.05;
				amount += 999;
				amount /= 1000;
				amount *= 1000;
			} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
				amount *= 1.05;
				amount += 999;
				amount /= 1000;
				amount *= 1000;
			} {
				amount *= 1.05;
				amount += 999;
				amount /= 1000;
				amount *= 1000;
			} amount *= 1.05 amount 1.05 amount += 999 amount 999 amount /= 1000 amount 1000 amount *= 1000 amount 1000 System.out.println(amount) System.out.println System.out System System.out amount String[] args args public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			long amount = 100000;
			for (int i = 0; i < n; i++) {
				amount *= 1.05;
				amount += 999;
				amount /= 1000;
				amount *= 1000;
			}
			System.out.println(amount);
		}
	}
} public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			long amount = 100000;
			for (int i = 0; i < n; i++) {
				amount *= 1.05;
				amount += 999;
				amount /= 1000;
				amount *= 1000;
			}
			System.out.println(amount);
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int n = sc.nextInt();
			long amount = 100000;
			for (int i = 0; i < n; i++) {
				amount *= 1.05;
				amount += 999;
				amount /= 1000;
				amount *= 1000;
			}
			System.out.println(amount);
		}
	}
}