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

class Main{
	public static void main(String[] a){
		Scanner scanner = new Scanner(System.in);
		int input = scanner.nextInt();
        scanner.close();
		if (input > 100) return;
		long loan = 100000;
		double interest = 0.05;
		for (int i = 0; i < input; i++) {
			loan += (loan*interest);
			loan = new BigDecimal(loan).setScale(-3, RoundingMode.UP).longValue();
		}
		System.out.println(loan);
	}
} 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 void main(String[] a){
		Scanner scanner = new Scanner(System.in);
		int input = scanner.nextInt();
        scanner.close();
		if (input > 100) return;
		long loan = 100000;
		double interest = 0.05;
		for (int i = 0; i < input; i++) {
			loan += (loan*interest);
			loan = new BigDecimal(loan).setScale(-3, RoundingMode.UP).longValue();
		}
		System.out.println(loan);
	}
} Main public static void main(String[] a){
		Scanner scanner = new Scanner(System.in);
		int input = scanner.nextInt();
        scanner.close();
		if (input > 100) return;
		long loan = 100000;
		double interest = 0.05;
		for (int i = 0; i < input; i++) {
			loan += (loan*interest);
			loan = new BigDecimal(loan).setScale(-3, RoundingMode.UP).longValue();
		}
		System.out.println(loan);
	} main {
		Scanner scanner = new Scanner(System.in);
		int input = scanner.nextInt();
        scanner.close();
		if (input > 100) return;
		long loan = 100000;
		double interest = 0.05;
		for (int i = 0; i < input; i++) {
			loan += (loan*interest);
			loan = new BigDecimal(loan).setScale(-3, RoundingMode.UP).longValue();
		}
		System.out.println(loan);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int input = scanner.nextInt(); input scanner.nextInt() scanner.nextInt scanner scanner.close() scanner.close scanner if (input > 100) return; input > 100 input 100 return; long loan = 100000; loan 100000 double interest = 0.05; interest 0.05 for (int i = 0; i < input; i++) {
			loan += (loan*interest);
			loan = new BigDecimal(loan).setScale(-3, RoundingMode.UP).longValue();
		} int i = 0; int i = 0; i 0 i < input i input i++ i++ i {
			loan += (loan*interest);
			loan = new BigDecimal(loan).setScale(-3, RoundingMode.UP).longValue();
		} {
			loan += (loan*interest);
			loan = new BigDecimal(loan).setScale(-3, RoundingMode.UP).longValue();
		} loan += (loan*interest) loan (loan*interest) loan interest loan = new BigDecimal(loan).setScale(-3, RoundingMode.UP).longValue() loan new BigDecimal(loan).setScale(-3, RoundingMode.UP).longValue() new BigDecimal(loan).setScale(-3, RoundingMode.UP).longValue new BigDecimal(loan).setScale(-3, RoundingMode.UP) new BigDecimal(loan).setScale new BigDecimal(loan) -3 3 RoundingMode.UP RoundingMode RoundingMode.UP System.out.println(loan) System.out.println System.out System System.out loan String[] a a
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

class Main{
	public static void main(String[] a){
		Scanner scanner = new Scanner(System.in);
		int input = scanner.nextInt();
        scanner.close();
		if (input > 100) return;
		long loan = 100000;
		double interest = 0.05;
		for (int i = 0; i < input; i++) {
			loan += (loan*interest);
			loan = new BigDecimal(loan).setScale(-3, RoundingMode.UP).longValue();
		}
		System.out.println(loan);
	}
}