import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();
			int r = m % 1000;
			if (r > 0) {
				m += 1000 - r;
			}
		}
		System.out.println(m);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();
			int r = m % 1000;
			if (r > 0) {
				m += 1000 - r;
			}
		}
		System.out.println(m);
	}
} Main public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();
			int r = m % 1000;
			if (r > 0) {
				m += 1000 - r;
			}
		}
		System.out.println(m);
	} main {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();
			int r = m % 1000;
			if (r > 0) {
				m += 1000 - r;
			}
		}
		System.out.println(m);
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int n = s.nextInt(); n s.nextInt() s.nextInt s int m = 100000; m 100000 for (int i = 0; i < n; i++) {
			m = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();
			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 = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();
			int r = m % 1000;
			if (r > 0) {
				m += 1000 - r;
			}
		} {
			m = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();
			int r = m % 1000;
			if (r > 0) {
				m += 1000 - r;
			}
		} m = Double.valueOf(Math.ceil((double) m * 1.05)).intValue() m Double.valueOf(Math.ceil((double) m * 1.05)).intValue() Double.valueOf(Math.ceil((double) m * 1.05)).intValue Double.valueOf(Math.ceil((double) m * 1.05)) Double.valueOf Double Math.ceil((double) m * 1.05) Math.ceil Math (double) m * 1.05 (double) m 1.05 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 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();
			int r = m % 1000;
			if (r > 0) {
				m += 1000 - r;
			}
		}
		System.out.println(m);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();
			int r = m % 1000;
			if (r > 0) {
				m += 1000 - r;
			}
		}
		System.out.println(m);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int m = 100000;
		for (int i = 0; i < n; i++) {
			m = Double.valueOf(Math.ceil((double) m * 1.05)).intValue();
			int r = m % 1000;
			if (r > 0) {
				m += 1000 - r;
			}
		}
		System.out.println(m);
	}
}