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

public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
	    
		try {
			int weeks = Integer.parseInt(in.readLine());
			
			int d = 100000;
			for (int i = 0; i < weeks; i++) {
				d = (int)((double)d * 1.05 + 999) / 1000 * 1000;
			}
			
			System.out.println(d);
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
} 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) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
	    
		try {
			int weeks = Integer.parseInt(in.readLine());
			
			int d = 100000;
			for (int i = 0; i < weeks; i++) {
				d = (int)((double)d * 1.05 + 999) / 1000 * 1000;
			}
			
			System.out.println(d);
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
} Main public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
	    
		try {
			int weeks = Integer.parseInt(in.readLine());
			
			int d = 100000;
			for (int i = 0; i < weeks; i++) {
				d = (int)((double)d * 1.05 + 999) / 1000 * 1000;
			}
			
			System.out.println(d);
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	} main {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
	    
		try {
			int weeks = Integer.parseInt(in.readLine());
			
			int d = 100000;
			for (int i = 0; i < weeks; i++) {
				d = (int)((double)d * 1.05 + 999) / 1000 * 1000;
			}
			
			System.out.println(d);
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) try {
			int weeks = Integer.parseInt(in.readLine());
			
			int d = 100000;
			for (int i = 0; i < weeks; i++) {
				d = (int)((double)d * 1.05 + 999) / 1000 * 1000;
			}
			
			System.out.println(d);
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} NumberFormatException e {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} IOException e {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			int weeks = Integer.parseInt(in.readLine());
			
			int d = 100000;
			for (int i = 0; i < weeks; i++) {
				d = (int)((double)d * 1.05 + 999) / 1000 * 1000;
			}
			
			System.out.println(d);
		} int weeks = Integer.parseInt(in.readLine()); weeks Integer.parseInt(in.readLine()) Integer.parseInt Integer in.readLine() in.readLine in int d = 100000; d 100000 for (int i = 0; i < weeks; i++) {
				d = (int)((double)d * 1.05 + 999) / 1000 * 1000;
			} int i = 0; int i = 0; i 0 i < weeks i weeks i++ i++ i {
				d = (int)((double)d * 1.05 + 999) / 1000 * 1000;
			} {
				d = (int)((double)d * 1.05 + 999) / 1000 * 1000;
			} d = (int)((double)d * 1.05 + 999) / 1000 * 1000 d (int)((double)d * 1.05 + 999) / 1000 * 1000 (int)((double)d * 1.05 + 999) / 1000 (int)((double)d * 1.05 + 999) (double)d * 1.05 (double)d 1.05 999 1000 1000 System.out.println(d) System.out.println System.out System System.out d String[] args args public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
	    
		try {
			int weeks = Integer.parseInt(in.readLine());
			
			int d = 100000;
			for (int i = 0; i < weeks; i++) {
				d = (int)((double)d * 1.05 + 999) / 1000 * 1000;
			}
			
			System.out.println(d);
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
} public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
	    
		try {
			int weeks = Integer.parseInt(in.readLine());
			
			int d = 100000;
			for (int i = 0; i < weeks; i++) {
				d = (int)((double)d * 1.05 + 999) / 1000 * 1000;
			}
			
			System.out.println(d);
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
	    
		try {
			int weeks = Integer.parseInt(in.readLine());
			
			int d = 100000;
			for (int i = 0; i < weeks; i++) {
				d = (int)((double)d * 1.05 + 999) / 1000 * 1000;
			}
			
			System.out.println(d);
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}