import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args)
	        throws IOException {
		BufferedReader br = new BufferedReader(
		        new InputStreamReader(System.in));
		int v = Integer.parseInt(br.readLine());
		int m = 100000;
		for (int i = 0; i < v; i++) {
			m *= 1.05;
			if ((m % 1000) > 0) {
				m += 1000 - m % 1000;
			}
		}
		System.out.println(m);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args)
	        throws IOException {
		BufferedReader br = new BufferedReader(
		        new InputStreamReader(System.in));
		int v = Integer.parseInt(br.readLine());
		int m = 100000;
		for (int i = 0; i < v; i++) {
			m *= 1.05;
			if ((m % 1000) > 0) {
				m += 1000 - m % 1000;
			}
		}
		System.out.println(m);
	}
} Main public static void main(String[] args)
	        throws IOException {
		BufferedReader br = new BufferedReader(
		        new InputStreamReader(System.in));
		int v = Integer.parseInt(br.readLine());
		int m = 100000;
		for (int i = 0; i < v; i++) {
			m *= 1.05;
			if ((m % 1000) > 0) {
				m += 1000 - m % 1000;
			}
		}
		System.out.println(m);
	} main {
		BufferedReader br = new BufferedReader(
		        new InputStreamReader(System.in));
		int v = Integer.parseInt(br.readLine());
		int m = 100000;
		for (int i = 0; i < v; i++) {
			m *= 1.05;
			if ((m % 1000) > 0) {
				m += 1000 - m % 1000;
			}
		}
		System.out.println(m);
	} BufferedReader br = new BufferedReader(
		        new InputStreamReader(System.in)); br new BufferedReader(
		        new InputStreamReader(System.in)) int v = Integer.parseInt(br.readLine()); v Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int m = 100000; m 100000 for (int i = 0; i < v; i++) {
			m *= 1.05;
			if ((m % 1000) > 0) {
				m += 1000 - m % 1000;
			}
		} int i = 0; int i = 0; i 0 i < v i v i++ i++ i {
			m *= 1.05;
			if ((m % 1000) > 0) {
				m += 1000 - m % 1000;
			}
		} {
			m *= 1.05;
			if ((m % 1000) > 0) {
				m += 1000 - m % 1000;
			}
		} m *= 1.05 m 1.05 if ((m % 1000) > 0) {
				m += 1000 - m % 1000;
			} (m % 1000) > 0 (m % 1000) m 1000 0 {
				m += 1000 - m % 1000;
			} m += 1000 - m % 1000 m 1000 - m % 1000 1000 m % 1000 m 1000 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)
	        throws IOException {
		BufferedReader br = new BufferedReader(
		        new InputStreamReader(System.in));
		int v = Integer.parseInt(br.readLine());
		int m = 100000;
		for (int i = 0; i < v; i++) {
			m *= 1.05;
			if ((m % 1000) > 0) {
				m += 1000 - m % 1000;
			}
		}
		System.out.println(m);
	}
} public class Main {
	public static void main(String[] args)
	        throws IOException {
		BufferedReader br = new BufferedReader(
		        new InputStreamReader(System.in));
		int v = Integer.parseInt(br.readLine());
		int m = 100000;
		for (int i = 0; i < v; i++) {
			m *= 1.05;
			if ((m % 1000) > 0) {
				m += 1000 - m % 1000;
			}
		}
		System.out.println(m);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args)
	        throws IOException {
		BufferedReader br = new BufferedReader(
		        new InputStreamReader(System.in));
		int v = Integer.parseInt(br.readLine());
		int m = 100000;
		for (int i = 0; i < v; i++) {
			m *= 1.05;
			if ((m % 1000) > 0) {
				m += 1000 - m % 1000;
			}
		}
		System.out.println(m);
	}
}