import java.util.Scanner;

public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		int money;
		int n;

		n = sc.nextInt();
		money = 100000;
		for (int i = 0; i < n; i++) {
			money *= 1.05;
			money = (money % 1000 == 0) ? money : money - money % 1000 + 1000;
		}
		System.out.println(money);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		int money;
		int n;

		n = sc.nextInt();
		money = 100000;
		for (int i = 0; i < n; i++) {
			money *= 1.05;
			money = (money % 1000 == 0) ? money : money - money % 1000 + 1000;
		}
		System.out.println(money);
	}
} Main public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		int money;
		int n;

		n = sc.nextInt();
		money = 100000;
		for (int i = 0; i < n; i++) {
			money *= 1.05;
			money = (money % 1000 == 0) ? money : money - money % 1000 + 1000;
		}
		System.out.println(money);
	} main {
		Scanner sc = new Scanner(System.in);
		int money;
		int n;

		n = sc.nextInt();
		money = 100000;
		for (int i = 0; i < n; i++) {
			money *= 1.05;
			money = (money % 1000 == 0) ? money : money - money % 1000 + 1000;
		}
		System.out.println(money);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int money; money int n; n n = sc.nextInt() n sc.nextInt() sc.nextInt sc money = 100000 money 100000 for (int i = 0; i < n; i++) {
			money *= 1.05;
			money = (money % 1000 == 0) ? money : money - money % 1000 + 1000;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			money *= 1.05;
			money = (money % 1000 == 0) ? money : money - money % 1000 + 1000;
		} {
			money *= 1.05;
			money = (money % 1000 == 0) ? money : money - money % 1000 + 1000;
		} money *= 1.05 money 1.05 money = (money % 1000 == 0) ? money : money - money % 1000 + 1000 money (money % 1000 == 0) ? money : money - money % 1000 + 1000 (money % 1000 == 0) money % 1000 money 1000 0 money money - money % 1000 + 1000 money - money % 1000 money money % 1000 money 1000 1000 System.out.println(money) System.out.println System.out System System.out money String args[] args public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		int money;
		int n;

		n = sc.nextInt();
		money = 100000;
		for (int i = 0; i < n; i++) {
			money *= 1.05;
			money = (money % 1000 == 0) ? money : money - money % 1000 + 1000;
		}
		System.out.println(money);
	}
} public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		int money;
		int n;

		n = sc.nextInt();
		money = 100000;
		for (int i = 0; i < n; i++) {
			money *= 1.05;
			money = (money % 1000 == 0) ? money : money - money % 1000 + 1000;
		}
		System.out.println(money);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		int money;
		int n;

		n = sc.nextInt();
		money = 100000;
		for (int i = 0; i < n; i++) {
			money *= 1.05;
			money = (money % 1000 == 0) ? money : money - money % 1000 + 1000;
		}
		System.out.println(money);
	}
}