import java.math.BigDecimal;

public class Main {

	public static void main(String[] args) {
		double money = 100000;
		int moneyNew = 0;
		int n = new java.util.Scanner(System.in).nextInt();

		for (int i = 0; i < n; i++) {
			money = money + money * 0.05;
			BigDecimal bd = new BigDecimal(money);
			BigDecimal bd2 = bd.setScale(-3, BigDecimal.ROUND_UP);
			money = +bd2.intValue();
		}

		System.out.println((int) money);

	}

} import java.math.BigDecimal; BigDecimal java.math public class Main {

	public static void main(String[] args) {
		double money = 100000;
		int moneyNew = 0;
		int n = new java.util.Scanner(System.in).nextInt();

		for (int i = 0; i < n; i++) {
			money = money + money * 0.05;
			BigDecimal bd = new BigDecimal(money);
			BigDecimal bd2 = bd.setScale(-3, BigDecimal.ROUND_UP);
			money = +bd2.intValue();
		}

		System.out.println((int) money);

	}

} Main public static void main(String[] args) {
		double money = 100000;
		int moneyNew = 0;
		int n = new java.util.Scanner(System.in).nextInt();

		for (int i = 0; i < n; i++) {
			money = money + money * 0.05;
			BigDecimal bd = new BigDecimal(money);
			BigDecimal bd2 = bd.setScale(-3, BigDecimal.ROUND_UP);
			money = +bd2.intValue();
		}

		System.out.println((int) money);

	} main {
		double money = 100000;
		int moneyNew = 0;
		int n = new java.util.Scanner(System.in).nextInt();

		for (int i = 0; i < n; i++) {
			money = money + money * 0.05;
			BigDecimal bd = new BigDecimal(money);
			BigDecimal bd2 = bd.setScale(-3, BigDecimal.ROUND_UP);
			money = +bd2.intValue();
		}

		System.out.println((int) money);

	} double money = 100000; money 100000 int moneyNew = 0; moneyNew 0 int n = new java.util.Scanner(System.in).nextInt(); n new java.util.Scanner(System.in).nextInt() new java.util.Scanner(System.in).nextInt new java.util.Scanner(System.in) for (int i = 0; i < n; i++) {
			money = money + money * 0.05;
			BigDecimal bd = new BigDecimal(money);
			BigDecimal bd2 = bd.setScale(-3, BigDecimal.ROUND_UP);
			money = +bd2.intValue();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			money = money + money * 0.05;
			BigDecimal bd = new BigDecimal(money);
			BigDecimal bd2 = bd.setScale(-3, BigDecimal.ROUND_UP);
			money = +bd2.intValue();
		} {
			money = money + money * 0.05;
			BigDecimal bd = new BigDecimal(money);
			BigDecimal bd2 = bd.setScale(-3, BigDecimal.ROUND_UP);
			money = +bd2.intValue();
		} money = money + money * 0.05 money money + money * 0.05 money money * 0.05 money 0.05 BigDecimal bd = new BigDecimal(money); bd new BigDecimal(money) BigDecimal bd2 = bd.setScale(-3, BigDecimal.ROUND_UP); bd2 bd.setScale(-3, BigDecimal.ROUND_UP) bd.setScale bd -3 3 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP money = +bd2.intValue() money +bd2.intValue() bd2.intValue() bd2.intValue bd2 System.out.println((int) money) System.out.println System.out System System.out (int) money String[] args args public class Main {

	public static void main(String[] args) {
		double money = 100000;
		int moneyNew = 0;
		int n = new java.util.Scanner(System.in).nextInt();

		for (int i = 0; i < n; i++) {
			money = money + money * 0.05;
			BigDecimal bd = new BigDecimal(money);
			BigDecimal bd2 = bd.setScale(-3, BigDecimal.ROUND_UP);
			money = +bd2.intValue();
		}

		System.out.println((int) money);

	}

} public class Main {

	public static void main(String[] args) {
		double money = 100000;
		int moneyNew = 0;
		int n = new java.util.Scanner(System.in).nextInt();

		for (int i = 0; i < n; i++) {
			money = money + money * 0.05;
			BigDecimal bd = new BigDecimal(money);
			BigDecimal bd2 = bd.setScale(-3, BigDecimal.ROUND_UP);
			money = +bd2.intValue();
		}

		System.out.println((int) money);

	}

} Main
import java.math.BigDecimal;

public class Main {

	public static void main(String[] args) {
		double money = 100000;
		int moneyNew = 0;
		int n = new java.util.Scanner(System.in).nextInt();

		for (int i = 0; i < n; i++) {
			money = money + money * 0.05;
			BigDecimal bd = new BigDecimal(money);
			BigDecimal bd2 = bd.setScale(-3, BigDecimal.ROUND_UP);
			money = +bd2.intValue();
		}

		System.out.println((int) money);

	}

}