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

public class Main {
	public static void main(String[] args) {
		print();
	}

	public static void print() {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			int weeks = Integer.parseInt(str);
			int debt = 100000;
			for(int i = 0; i < weeks; i++){
				debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();
			}
					System.out.println(debt);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.math.BigDecimal; BigDecimal java.math public class Main {
	public static void main(String[] args) {
		print();
	}

	public static void print() {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			int weeks = Integer.parseInt(str);
			int debt = 100000;
			for(int i = 0; i < weeks; i++){
				debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();
			}
					System.out.println(debt);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} Main public static void main(String[] args) {
		print();
	} main {
		print();
	} print() print String[] args args public static void print() {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			int weeks = Integer.parseInt(str);
			int debt = 100000;
			for(int i = 0; i < weeks; i++){
				debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();
			}
					System.out.println(debt);
		} catch (IOException e) {
			e.printStackTrace();
		}
	} print {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			int weeks = Integer.parseInt(str);
			int debt = 100000;
			for(int i = 0; i < weeks; i++){
				debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();
			}
					System.out.println(debt);
		} catch (IOException e) {
			e.printStackTrace();
		}
	} try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			int weeks = Integer.parseInt(str);
			int debt = 100000;
			for(int i = 0; i < weeks; i++){
				debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();
			}
					System.out.println(debt);
		} catch (IOException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			int weeks = Integer.parseInt(str);
			int debt = 100000;
			for(int i = 0; i < weeks; i++){
				debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();
			}
					System.out.println(debt);
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br int weeks = Integer.parseInt(str); weeks Integer.parseInt(str) Integer.parseInt Integer str int debt = 100000; debt 100000 for(int i = 0; i < weeks; i++){
				debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();
			} int i = 0; int i = 0; i 0 i < weeks i weeks i++ i++ i {
				debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();
			} {
				debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();
			} debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact() debt new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact() new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING) new BigDecimal(debt * 1.05).setScale new BigDecimal(debt * 1.05) -3 3 BigDecimal.ROUND_CEILING BigDecimal BigDecimal.ROUND_CEILING System.out.println(debt) System.out.println System.out System System.out debt public class Main {
	public static void main(String[] args) {
		print();
	}

	public static void print() {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			int weeks = Integer.parseInt(str);
			int debt = 100000;
			for(int i = 0; i < weeks; i++){
				debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();
			}
					System.out.println(debt);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} public class Main {
	public static void main(String[] args) {
		print();
	}

	public static void print() {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			int weeks = Integer.parseInt(str);
			int debt = 100000;
			for(int i = 0; i < weeks; i++){
				debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();
			}
					System.out.println(debt);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;

public class Main {
	public static void main(String[] args) {
		print();
	}

	public static void print() {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			int weeks = Integer.parseInt(str);
			int debt = 100000;
			for(int i = 0; i < weeks; i++){
				debt = new BigDecimal(debt * 1.05).setScale(-3, BigDecimal.ROUND_CEILING).intValueExact();
			}
					System.out.println(debt);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}