import java.util.Scanner;

public class Main {
	private static final int origin = 100000;
	private static final double interest = 1.05;

	static Scanner sc = new Scanner(System.in);

	public static void main(String[] args) {
		int num = sc.nextInt();
		double ans = origin;

		for(int count = 0; count < num; count++) {
			ans = ans * interest / 1000;
			ans = Math.ceil(ans) * 1000;
		}

		System.out.println((int)ans);
	}

} import java.util.Scanner; Scanner java.util public class Main {
	private static final int origin = 100000;
	private static final double interest = 1.05;

	static Scanner sc = new Scanner(System.in);

	public static void main(String[] args) {
		int num = sc.nextInt();
		double ans = origin;

		for(int count = 0; count < num; count++) {
			ans = ans * interest / 1000;
			ans = Math.ceil(ans) * 1000;
		}

		System.out.println((int)ans);
	}

} Main private static final int origin = 100000; origin 100000 private static final double interest = 1.05; interest 1.05 static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) {
		int num = sc.nextInt();
		double ans = origin;

		for(int count = 0; count < num; count++) {
			ans = ans * interest / 1000;
			ans = Math.ceil(ans) * 1000;
		}

		System.out.println((int)ans);
	} main {
		int num = sc.nextInt();
		double ans = origin;

		for(int count = 0; count < num; count++) {
			ans = ans * interest / 1000;
			ans = Math.ceil(ans) * 1000;
		}

		System.out.println((int)ans);
	} int num = sc.nextInt(); num sc.nextInt() sc.nextInt sc double ans = origin; ans origin for(int count = 0; count < num; count++) {
			ans = ans * interest / 1000;
			ans = Math.ceil(ans) * 1000;
		} int count = 0; int count = 0; count 0 count < num count num count++ count++ count {
			ans = ans * interest / 1000;
			ans = Math.ceil(ans) * 1000;
		} {
			ans = ans * interest / 1000;
			ans = Math.ceil(ans) * 1000;
		} ans = ans * interest / 1000 ans ans * interest / 1000 ans * interest ans interest 1000 ans = Math.ceil(ans) * 1000 ans Math.ceil(ans) * 1000 Math.ceil(ans) Math.ceil Math ans 1000 System.out.println((int)ans) System.out.println System.out System System.out (int)ans String[] args args public class Main {
	private static final int origin = 100000;
	private static final double interest = 1.05;

	static Scanner sc = new Scanner(System.in);

	public static void main(String[] args) {
		int num = sc.nextInt();
		double ans = origin;

		for(int count = 0; count < num; count++) {
			ans = ans * interest / 1000;
			ans = Math.ceil(ans) * 1000;
		}

		System.out.println((int)ans);
	}

} public class Main {
	private static final int origin = 100000;
	private static final double interest = 1.05;

	static Scanner sc = new Scanner(System.in);

	public static void main(String[] args) {
		int num = sc.nextInt();
		double ans = origin;

		for(int count = 0; count < num; count++) {
			ans = ans * interest / 1000;
			ans = Math.ceil(ans) * 1000;
		}

		System.out.println((int)ans);
	}

} Main
import java.util.Scanner;

public class Main {
	private static final int origin = 100000;
	private static final double interest = 1.05;

	static Scanner sc = new Scanner(System.in);

	public static void main(String[] args) {
		int num = sc.nextInt();
		double ans = origin;

		for(int count = 0; count < num; count++) {
			ans = ans * interest / 1000;
			ans = Math.ceil(ans) * 1000;
		}

		System.out.println((int)ans);
	}

}