
import java.util.Scanner;

public class Main {


	void run() {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int m = 100000;

		for(int i = 0; i < n; i++) {
			m += m * 5 / 100;

			int r = m % 1000;
			if(r != 0) {
				m += 1000 - r;
			}
		}

		System.out.println(m);

		sc.close();
	}

	public static void main(String[] args) {
		new Main().run();
	}

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


	void run() {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int m = 100000;

		for(int i = 0; i < n; i++) {
			m += m * 5 / 100;

			int r = m % 1000;
			if(r != 0) {
				m += 1000 - r;
			}
		}

		System.out.println(m);

		sc.close();
	}

	public static void main(String[] args) {
		new Main().run();
	}

} Main void run() {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int m = 100000;

		for(int i = 0; i < n; i++) {
			m += m * 5 / 100;

			int r = m % 1000;
			if(r != 0) {
				m += 1000 - r;
			}
		}

		System.out.println(m);

		sc.close();
	} run {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int m = 100000;

		for(int i = 0; i < n; i++) {
			m += m * 5 / 100;

			int r = m % 1000;
			if(r != 0) {
				m += 1000 - r;
			}
		}

		System.out.println(m);

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int m = 100000; m 100000 for(int i = 0; i < n; i++) {
			m += m * 5 / 100;

			int r = m % 1000;
			if(r != 0) {
				m += 1000 - r;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			m += m * 5 / 100;

			int r = m % 1000;
			if(r != 0) {
				m += 1000 - r;
			}
		} {
			m += m * 5 / 100;

			int r = m % 1000;
			if(r != 0) {
				m += 1000 - r;
			}
		} m += m * 5 / 100 m m * 5 / 100 m * 5 m 5 100 int r = m % 1000; r m % 1000 m 1000 if(r != 0) {
				m += 1000 - r;
			} r != 0 r 0 {
				m += 1000 - r;
			} m += 1000 - r m 1000 - r 1000 r System.out.println(m) System.out.println System.out System System.out m sc.close() sc.close sc public static void main(String[] args) {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args public class Main {


	void run() {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int m = 100000;

		for(int i = 0; i < n; i++) {
			m += m * 5 / 100;

			int r = m % 1000;
			if(r != 0) {
				m += 1000 - r;
			}
		}

		System.out.println(m);

		sc.close();
	}

	public static void main(String[] args) {
		new Main().run();
	}

} public class Main {


	void run() {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int m = 100000;

		for(int i = 0; i < n; i++) {
			m += m * 5 / 100;

			int r = m % 1000;
			if(r != 0) {
				m += 1000 - r;
			}
		}

		System.out.println(m);

		sc.close();
	}

	public static void main(String[] args) {
		new Main().run();
	}

} Main

import java.util.Scanner;

public class Main {


	void run() {
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int m = 100000;

		for(int i = 0; i < n; i++) {
			m += m * 5 / 100;

			int r = m % 1000;
			if(r != 0) {
				m += 1000 - r;
			}
		}

		System.out.println(m);

		sc.close();
	}

	public static void main(String[] args) {
		new Main().run();
	}

}