import java.util.Scanner;

public class Main {
	public static void main(String[] a){
		long debt = 100000;
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		for(int i = 0;i < n;i++){
			debt *= 1.05f;
			if(debt % 1000 != 0){
				debt = (debt/1000 + 1) * 1000;
			}
		}
		System.out.println(debt);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] a){
		long debt = 100000;
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		for(int i = 0;i < n;i++){
			debt *= 1.05f;
			if(debt % 1000 != 0){
				debt = (debt/1000 + 1) * 1000;
			}
		}
		System.out.println(debt);
	}
} Main public static void main(String[] a){
		long debt = 100000;
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		for(int i = 0;i < n;i++){
			debt *= 1.05f;
			if(debt % 1000 != 0){
				debt = (debt/1000 + 1) * 1000;
			}
		}
		System.out.println(debt);
	} main {
		long debt = 100000;
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		for(int i = 0;i < n;i++){
			debt *= 1.05f;
			if(debt % 1000 != 0){
				debt = (debt/1000 + 1) * 1000;
			}
		}
		System.out.println(debt);
	} long debt = 100000; debt 100000 Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int n = scn.nextInt(); n scn.nextInt() scn.nextInt scn for(int i = 0;i < n;i++){
			debt *= 1.05f;
			if(debt % 1000 != 0){
				debt = (debt/1000 + 1) * 1000;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			debt *= 1.05f;
			if(debt % 1000 != 0){
				debt = (debt/1000 + 1) * 1000;
			}
		} {
			debt *= 1.05f;
			if(debt % 1000 != 0){
				debt = (debt/1000 + 1) * 1000;
			}
		} debt *= 1.05f debt 1.05f if(debt % 1000 != 0){
				debt = (debt/1000 + 1) * 1000;
			} debt % 1000 != 0 debt % 1000 debt 1000 0 {
				debt = (debt/1000 + 1) * 1000;
			} debt = (debt/1000 + 1) * 1000 debt (debt/1000 + 1) * 1000 (debt/1000 + 1) debt/1000 debt 1000 1 1000 System.out.println(debt) System.out.println System.out System System.out debt String[] a a public class Main {
	public static void main(String[] a){
		long debt = 100000;
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		for(int i = 0;i < n;i++){
			debt *= 1.05f;
			if(debt % 1000 != 0){
				debt = (debt/1000 + 1) * 1000;
			}
		}
		System.out.println(debt);
	}
} public class Main {
	public static void main(String[] a){
		long debt = 100000;
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		for(int i = 0;i < n;i++){
			debt *= 1.05f;
			if(debt % 1000 != 0){
				debt = (debt/1000 + 1) * 1000;
			}
		}
		System.out.println(debt);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] a){
		long debt = 100000;
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		for(int i = 0;i < n;i++){
			debt *= 1.05f;
			if(debt % 1000 != 0){
				debt = (debt/1000 + 1) * 1000;
			}
		}
		System.out.println(debt);
	}
}