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

//public class Problem0007_DebtHell {
public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String line;
			
			while((line = reader.readLine()) != null) {
				int month = Integer.parseInt(line);
				
				int debt = 100;
				for(int i = 0; i < month; i++) {
					debt = (int)Math.ceil(debt * 1.05);
				}
				System.out.println(debt * 1000);
			}
			
		} catch(Exception e) {
			e.printStackTrace();
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String line;
			
			while((line = reader.readLine()) != null) {
				int month = Integer.parseInt(line);
				
				int debt = 100;
				for(int i = 0; i < month; i++) {
					debt = (int)Math.ceil(debt * 1.05);
				}
				System.out.println(debt * 1000);
			}
			
		} catch(Exception e) {
			e.printStackTrace();
		}
	}
} Main public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String line;
			
			while((line = reader.readLine()) != null) {
				int month = Integer.parseInt(line);
				
				int debt = 100;
				for(int i = 0; i < month; i++) {
					debt = (int)Math.ceil(debt * 1.05);
				}
				System.out.println(debt * 1000);
			}
			
		} catch(Exception e) {
			e.printStackTrace();
		}
	} main {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String line;
			
			while((line = reader.readLine()) != null) {
				int month = Integer.parseInt(line);
				
				int debt = 100;
				for(int i = 0; i < month; i++) {
					debt = (int)Math.ceil(debt * 1.05);
				}
				System.out.println(debt * 1000);
			}
			
		} catch(Exception e) {
			e.printStackTrace();
		}
	} try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String line;
			
			while((line = reader.readLine()) != null) {
				int month = Integer.parseInt(line);
				
				int debt = 100;
				for(int i = 0; i < month; i++) {
					debt = (int)Math.ceil(debt * 1.05);
				}
				System.out.println(debt * 1000);
			}
			
		} catch(Exception e) {
			e.printStackTrace();
		} catch(Exception e) {
			e.printStackTrace();
		} Exception e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String line;
			
			while((line = reader.readLine()) != null) {
				int month = Integer.parseInt(line);
				
				int debt = 100;
				for(int i = 0; i < month; i++) {
					debt = (int)Math.ceil(debt * 1.05);
				}
				System.out.println(debt * 1000);
			}
			
		} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String line; line while((line = reader.readLine()) != null) {
				int month = Integer.parseInt(line);
				
				int debt = 100;
				for(int i = 0; i < month; i++) {
					debt = (int)Math.ceil(debt * 1.05);
				}
				System.out.println(debt * 1000);
			} (line = reader.readLine()) != null (line = reader.readLine()) line reader.readLine() reader.readLine reader null {
				int month = Integer.parseInt(line);
				
				int debt = 100;
				for(int i = 0; i < month; i++) {
					debt = (int)Math.ceil(debt * 1.05);
				}
				System.out.println(debt * 1000);
			} int month = Integer.parseInt(line); month Integer.parseInt(line) Integer.parseInt Integer line int debt = 100; debt 100 for(int i = 0; i < month; i++) {
					debt = (int)Math.ceil(debt * 1.05);
				} int i = 0; int i = 0; i 0 i < month i month i++ i++ i {
					debt = (int)Math.ceil(debt * 1.05);
				} {
					debt = (int)Math.ceil(debt * 1.05);
				} debt = (int)Math.ceil(debt * 1.05) debt (int)Math.ceil(debt * 1.05) Math.ceil Math debt * 1.05 debt 1.05 System.out.println(debt * 1000) System.out.println System.out System System.out debt * 1000 debt 1000 String[] args args public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String line;
			
			while((line = reader.readLine()) != null) {
				int month = Integer.parseInt(line);
				
				int debt = 100;
				for(int i = 0; i < month; i++) {
					debt = (int)Math.ceil(debt * 1.05);
				}
				System.out.println(debt * 1000);
			}
			
		} catch(Exception e) {
			e.printStackTrace();
		}
	}
} public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String line;
			
			while((line = reader.readLine()) != null) {
				int month = Integer.parseInt(line);
				
				int debt = 100;
				for(int i = 0; i < month; i++) {
					debt = (int)Math.ceil(debt * 1.05);
				}
				System.out.println(debt * 1000);
			}
			
		} catch(Exception e) {
			e.printStackTrace();
		}
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

//public class Problem0007_DebtHell {
public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String line;
			
			while((line = reader.readLine()) != null) {
				int month = Integer.parseInt(line);
				
				int debt = 100;
				for(int i = 0; i < month; i++) {
					debt = (int)Math.ceil(debt * 1.05);
				}
				System.out.println(debt * 1000);
			}
			
		} catch(Exception e) {
			e.printStackTrace();
		}
	}
}