import java.util.Scanner;

public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int n = input();
		double dept = 100000;

		for (int i = 0; i < n; i++) {

			dept *= 1.05;

			if (dept % 1000 != 0) {

				dept = (Math.ceil(dept / 1000)) * 1000;

			}
		}

		System.out.println((int)dept);

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int n = input();
		double dept = 100000;

		for (int i = 0; i < n; i++) {

			dept *= 1.05;

			if (dept % 1000 != 0) {

				dept = (Math.ceil(dept / 1000)) * 1000;

			}
		}

		System.out.println((int)dept);

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
} Main public static Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) public static void main(String[] args) {

		int n = input();
		double dept = 100000;

		for (int i = 0; i < n; i++) {

			dept *= 1.05;

			if (dept % 1000 != 0) {

				dept = (Math.ceil(dept / 1000)) * 1000;

			}
		}

		System.out.println((int)dept);

		close();

	} main {

		int n = input();
		double dept = 100000;

		for (int i = 0; i < n; i++) {

			dept *= 1.05;

			if (dept % 1000 != 0) {

				dept = (Math.ceil(dept / 1000)) * 1000;

			}
		}

		System.out.println((int)dept);

		close();

	} int n = input(); n input() input double dept = 100000; dept 100000 for (int i = 0; i < n; i++) {

			dept *= 1.05;

			if (dept % 1000 != 0) {

				dept = (Math.ceil(dept / 1000)) * 1000;

			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {

			dept *= 1.05;

			if (dept % 1000 != 0) {

				dept = (Math.ceil(dept / 1000)) * 1000;

			}
		} {

			dept *= 1.05;

			if (dept % 1000 != 0) {

				dept = (Math.ceil(dept / 1000)) * 1000;

			}
		} dept *= 1.05 dept 1.05 if (dept % 1000 != 0) {

				dept = (Math.ceil(dept / 1000)) * 1000;

			} dept % 1000 != 0 dept % 1000 dept 1000 0 {

				dept = (Math.ceil(dept / 1000)) * 1000;

			} dept = (Math.ceil(dept / 1000)) * 1000 dept (Math.ceil(dept / 1000)) * 1000 (Math.ceil(dept / 1000)) Math.ceil Math dept / 1000 dept 1000 1000 System.out.println((int)dept) System.out.println System.out System System.out (int)dept close() close String[] args args public static int input() {

		return scanner.nextInt();

	} input {

		return scanner.nextInt();

	} return scanner.nextInt(); scanner.nextInt() scanner.nextInt scanner public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	} close {

		if (scanner != null) {

			scanner.close();

		}
	} if (scanner != null) {

			scanner.close();

		} scanner != null scanner null {

			scanner.close();

		} scanner.close() scanner.close scanner public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int n = input();
		double dept = 100000;

		for (int i = 0; i < n; i++) {

			dept *= 1.05;

			if (dept % 1000 != 0) {

				dept = (Math.ceil(dept / 1000)) * 1000;

			}
		}

		System.out.println((int)dept);

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
} public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int n = input();
		double dept = 100000;

		for (int i = 0; i < n; i++) {

			dept *= 1.05;

			if (dept % 1000 != 0) {

				dept = (Math.ceil(dept / 1000)) * 1000;

			}
		}

		System.out.println((int)dept);

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int n = input();
		double dept = 100000;

		for (int i = 0; i < n; i++) {

			dept *= 1.05;

			if (dept % 1000 != 0) {

				dept = (Math.ceil(dept / 1000)) * 1000;

			}
		}

		System.out.println((int)dept);

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
}