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

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		double loan = 100_000.0;
//		BigDecimal bdl = new BigDecimal(loan);
//		BigDecimal interest = new BigDecimal(1.05);
//		for (int i = 0; i < n; i++) {
////			loan = loan * 1.05;
//			bdl = bdl.multiply(interest);
//			bdl = bdl.setScale(-3, RoundingMode.UP);
//		}
//		System.out.println(bdl.intValue());
		for (int i = 0; i < n; i++) {
			loan = loan * 1.05;
			BigDecimal bdl = new BigDecimal(loan);
			bdl = bdl.setScale(-3, RoundingMode.UP);
			loan = bdl.doubleValue();
		}
		System.out.println( (int)loan );
	}

} import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		double loan = 100_000.0;
//		BigDecimal bdl = new BigDecimal(loan);
//		BigDecimal interest = new BigDecimal(1.05);
//		for (int i = 0; i < n; i++) {
////			loan = loan * 1.05;
//			bdl = bdl.multiply(interest);
//			bdl = bdl.setScale(-3, RoundingMode.UP);
//		}
//		System.out.println(bdl.intValue());
		for (int i = 0; i < n; i++) {
			loan = loan * 1.05;
			BigDecimal bdl = new BigDecimal(loan);
			bdl = bdl.setScale(-3, RoundingMode.UP);
			loan = bdl.doubleValue();
		}
		System.out.println( (int)loan );
	}

} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		double loan = 100_000.0;
//		BigDecimal bdl = new BigDecimal(loan);
//		BigDecimal interest = new BigDecimal(1.05);
//		for (int i = 0; i < n; i++) {
////			loan = loan * 1.05;
//			bdl = bdl.multiply(interest);
//			bdl = bdl.setScale(-3, RoundingMode.UP);
//		}
//		System.out.println(bdl.intValue());
		for (int i = 0; i < n; i++) {
			loan = loan * 1.05;
			BigDecimal bdl = new BigDecimal(loan);
			bdl = bdl.setScale(-3, RoundingMode.UP);
			loan = bdl.doubleValue();
		}
		System.out.println( (int)loan );
	} main {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		double loan = 100_000.0;
//		BigDecimal bdl = new BigDecimal(loan);
//		BigDecimal interest = new BigDecimal(1.05);
//		for (int i = 0; i < n; i++) {
////			loan = loan * 1.05;
//			bdl = bdl.multiply(interest);
//			bdl = bdl.setScale(-3, RoundingMode.UP);
//		}
//		System.out.println(bdl.intValue());
		for (int i = 0; i < n; i++) {
			loan = loan * 1.05;
			BigDecimal bdl = new BigDecimal(loan);
			bdl = bdl.setScale(-3, RoundingMode.UP);
			loan = bdl.doubleValue();
		}
		System.out.println( (int)loan );
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc double loan = 100_000.0; loan 100_000.0 for (int i = 0; i < n; i++) {
			loan = loan * 1.05;
			BigDecimal bdl = new BigDecimal(loan);
			bdl = bdl.setScale(-3, RoundingMode.UP);
			loan = bdl.doubleValue();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			loan = loan * 1.05;
			BigDecimal bdl = new BigDecimal(loan);
			bdl = bdl.setScale(-3, RoundingMode.UP);
			loan = bdl.doubleValue();
		} {
			loan = loan * 1.05;
			BigDecimal bdl = new BigDecimal(loan);
			bdl = bdl.setScale(-3, RoundingMode.UP);
			loan = bdl.doubleValue();
		} loan = loan * 1.05 loan loan * 1.05 loan 1.05 BigDecimal bdl = new BigDecimal(loan); bdl new BigDecimal(loan) bdl = bdl.setScale(-3, RoundingMode.UP) bdl bdl.setScale(-3, RoundingMode.UP) bdl.setScale bdl -3 3 RoundingMode.UP RoundingMode RoundingMode.UP loan = bdl.doubleValue() loan bdl.doubleValue() bdl.doubleValue bdl System.out.println( (int)loan ) System.out.println System.out System System.out (int)loan String[] args args public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		double loan = 100_000.0;
//		BigDecimal bdl = new BigDecimal(loan);
//		BigDecimal interest = new BigDecimal(1.05);
//		for (int i = 0; i < n; i++) {
////			loan = loan * 1.05;
//			bdl = bdl.multiply(interest);
//			bdl = bdl.setScale(-3, RoundingMode.UP);
//		}
//		System.out.println(bdl.intValue());
		for (int i = 0; i < n; i++) {
			loan = loan * 1.05;
			BigDecimal bdl = new BigDecimal(loan);
			bdl = bdl.setScale(-3, RoundingMode.UP);
			loan = bdl.doubleValue();
		}
		System.out.println( (int)loan );
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		double loan = 100_000.0;
//		BigDecimal bdl = new BigDecimal(loan);
//		BigDecimal interest = new BigDecimal(1.05);
//		for (int i = 0; i < n; i++) {
////			loan = loan * 1.05;
//			bdl = bdl.multiply(interest);
//			bdl = bdl.setScale(-3, RoundingMode.UP);
//		}
//		System.out.println(bdl.intValue());
		for (int i = 0; i < n; i++) {
			loan = loan * 1.05;
			BigDecimal bdl = new BigDecimal(loan);
			bdl = bdl.setScale(-3, RoundingMode.UP);
			loan = bdl.doubleValue();
		}
		System.out.println( (int)loan );
	}

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

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		double loan = 100_000.0;
//		BigDecimal bdl = new BigDecimal(loan);
//		BigDecimal interest = new BigDecimal(1.05);
//		for (int i = 0; i < n; i++) {
////			loan = loan * 1.05;
//			bdl = bdl.multiply(interest);
//			bdl = bdl.setScale(-3, RoundingMode.UP);
//		}
//		System.out.println(bdl.intValue());
		for (int i = 0; i < n; i++) {
			loan = loan * 1.05;
			BigDecimal bdl = new BigDecimal(loan);
			bdl = bdl.setScale(-3, RoundingMode.UP);
			loan = bdl.doubleValue();
		}
		System.out.println( (int)loan );
	}

}