import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

class Main {
	
	public static BigDecimal INTEREST_RATE = new BigDecimal("0.05");
	
	public static void main(String... args) {
		Scanner scanner = null;
		try {
			scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			BigDecimal baseDebt = new BigDecimal(100000);
			BigDecimal debt = calc(baseDebt, n);
			System.out.println(debt.intValue());
		} finally {
			scanner.close();
		}
	}
	
	public static BigDecimal calc(BigDecimal debt, int n) {
		if (n <= 0) {
			return debt;
		}
		BigDecimal interest = debt.multiply(INTEREST_RATE);
		BigDecimal afterDebt = debt.add(interest).setScale(-3, RoundingMode.UP);
		return calc(afterDebt, --n);
	}
} import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math import java.util.Scanner; Scanner java.util class Main {
	
	public static BigDecimal INTEREST_RATE = new BigDecimal("0.05");
	
	public static void main(String... args) {
		Scanner scanner = null;
		try {
			scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			BigDecimal baseDebt = new BigDecimal(100000);
			BigDecimal debt = calc(baseDebt, n);
			System.out.println(debt.intValue());
		} finally {
			scanner.close();
		}
	}
	
	public static BigDecimal calc(BigDecimal debt, int n) {
		if (n <= 0) {
			return debt;
		}
		BigDecimal interest = debt.multiply(INTEREST_RATE);
		BigDecimal afterDebt = debt.add(interest).setScale(-3, RoundingMode.UP);
		return calc(afterDebt, --n);
	}
} Main public static BigDecimal INTEREST_RATE = new BigDecimal("0.05"); INTEREST_RATE new BigDecimal("0.05") public static void main(String... args) {
		Scanner scanner = null;
		try {
			scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			BigDecimal baseDebt = new BigDecimal(100000);
			BigDecimal debt = calc(baseDebt, n);
			System.out.println(debt.intValue());
		} finally {
			scanner.close();
		}
	} main {
		Scanner scanner = null;
		try {
			scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			BigDecimal baseDebt = new BigDecimal(100000);
			BigDecimal debt = calc(baseDebt, n);
			System.out.println(debt.intValue());
		} finally {
			scanner.close();
		}
	} Scanner scanner = null; scanner null try {
			scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			BigDecimal baseDebt = new BigDecimal(100000);
			BigDecimal debt = calc(baseDebt, n);
			System.out.println(debt.intValue());
		} finally {
			scanner.close();
		} {
			scanner.close();
		} scanner.close() scanner.close scanner {
			scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			BigDecimal baseDebt = new BigDecimal(100000);
			BigDecimal debt = calc(baseDebt, n);
			System.out.println(debt.intValue());
		} scanner = new Scanner(System.in) scanner new Scanner(System.in) int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner BigDecimal baseDebt = new BigDecimal(100000); baseDebt new BigDecimal(100000) BigDecimal debt = calc(baseDebt, n); debt calc(baseDebt, n) calc baseDebt n System.out.println(debt.intValue()) System.out.println System.out System System.out debt.intValue() debt.intValue debt String... args args public static BigDecimal calc(BigDecimal debt, int n) {
		if (n <= 0) {
			return debt;
		}
		BigDecimal interest = debt.multiply(INTEREST_RATE);
		BigDecimal afterDebt = debt.add(interest).setScale(-3, RoundingMode.UP);
		return calc(afterDebt, --n);
	} calc {
		if (n <= 0) {
			return debt;
		}
		BigDecimal interest = debt.multiply(INTEREST_RATE);
		BigDecimal afterDebt = debt.add(interest).setScale(-3, RoundingMode.UP);
		return calc(afterDebt, --n);
	} if (n <= 0) {
			return debt;
		} n <= 0 n 0 {
			return debt;
		} return debt; debt BigDecimal interest = debt.multiply(INTEREST_RATE); interest debt.multiply(INTEREST_RATE) debt.multiply debt INTEREST_RATE BigDecimal afterDebt = debt.add(interest).setScale(-3, RoundingMode.UP); afterDebt debt.add(interest).setScale(-3, RoundingMode.UP) debt.add(interest).setScale debt.add(interest) debt.add debt interest -3 3 RoundingMode.UP RoundingMode RoundingMode.UP return calc(afterDebt, --n); calc(afterDebt, --n) calc afterDebt --n n BigDecimal debt debt int n n
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

class Main {
	
	public static BigDecimal INTEREST_RATE = new BigDecimal("0.05");
	
	public static void main(String... args) {
		Scanner scanner = null;
		try {
			scanner = new Scanner(System.in);
			int n = scanner.nextInt();
			BigDecimal baseDebt = new BigDecimal(100000);
			BigDecimal debt = calc(baseDebt, n);
			System.out.println(debt.intValue());
		} finally {
			scanner.close();
		}
	}
	
	public static BigDecimal calc(BigDecimal debt, int n) {
		if (n <= 0) {
			return debt;
		}
		BigDecimal interest = debt.multiply(INTEREST_RATE);
		BigDecimal afterDebt = debt.add(interest).setScale(-3, RoundingMode.UP);
		return calc(afterDebt, --n);
	}
}