import java.io.*;

public class Main{
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = "";
		int result = 100000;
		try {
			while((str = br.readLine()) != "") {
				int num = Integer.parseInt(str);
				for(int i=0; i<num; i++) {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				}
				System.out.println(result);
			}
		} catch(Exception e) {
			e.getMessage();
		}
	}
} import java.io.*; io.* java public class Main{
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = "";
		int result = 100000;
		try {
			while((str = br.readLine()) != "") {
				int num = Integer.parseInt(str);
				for(int i=0; i<num; i++) {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				}
				System.out.println(result);
			}
		} catch(Exception e) {
			e.getMessage();
		}
	}
} Main public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = "";
		int result = 100000;
		try {
			while((str = br.readLine()) != "") {
				int num = Integer.parseInt(str);
				for(int i=0; i<num; i++) {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				}
				System.out.println(result);
			}
		} catch(Exception e) {
			e.getMessage();
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = "";
		int result = 100000;
		try {
			while((str = br.readLine()) != "") {
				int num = Integer.parseInt(str);
				for(int i=0; i<num; i++) {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				}
				System.out.println(result);
			}
		} catch(Exception e) {
			e.getMessage();
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = ""; str "" int result = 100000; result 100000 try {
			while((str = br.readLine()) != "") {
				int num = Integer.parseInt(str);
				for(int i=0; i<num; i++) {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				}
				System.out.println(result);
			}
		} catch(Exception e) {
			e.getMessage();
		} catch(Exception e) {
			e.getMessage();
		} Exception e {
			e.getMessage();
		} e.getMessage() e.getMessage e {
			while((str = br.readLine()) != "") {
				int num = Integer.parseInt(str);
				for(int i=0; i<num; i++) {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				}
				System.out.println(result);
			}
		} while((str = br.readLine()) != "") {
				int num = Integer.parseInt(str);
				for(int i=0; i<num; i++) {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				}
				System.out.println(result);
			} (str = br.readLine()) != "" (str = br.readLine()) str br.readLine() br.readLine br "" {
				int num = Integer.parseInt(str);
				for(int i=0; i<num; i++) {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				}
				System.out.println(result);
			} int num = Integer.parseInt(str); num Integer.parseInt(str) Integer.parseInt Integer str for(int i=0; i<num; i++) {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				} int i=0; int i=0; i 0 i<num i num i++ i++ i {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				} {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				} result += result / 100 * 5 result result / 100 * 5 result / 100 result 100 5 if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					} result % 1000 != 0 result % 1000 result 1000 0 {
						result = (result / 1000 + 1) * 1000;
					} result = (result / 1000 + 1) * 1000 result (result / 1000 + 1) * 1000 (result / 1000 + 1) result / 1000 result 1000 1 1000 System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main{
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = "";
		int result = 100000;
		try {
			while((str = br.readLine()) != "") {
				int num = Integer.parseInt(str);
				for(int i=0; i<num; i++) {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				}
				System.out.println(result);
			}
		} catch(Exception e) {
			e.getMessage();
		}
	}
} public class Main{
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = "";
		int result = 100000;
		try {
			while((str = br.readLine()) != "") {
				int num = Integer.parseInt(str);
				for(int i=0; i<num; i++) {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				}
				System.out.println(result);
			}
		} catch(Exception e) {
			e.getMessage();
		}
	}
} Main
import java.io.*;

public class Main{
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = "";
		int result = 100000;
		try {
			while((str = br.readLine()) != "") {
				int num = Integer.parseInt(str);
				for(int i=0; i<num; i++) {
					result += result / 100 * 5;
					if(result % 1000 != 0) {
						result = (result / 1000 + 1) * 1000;
					}
				}
				System.out.println(result);
			}
		} catch(Exception e) {
			e.getMessage();
		}
	}
}