

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main{

	public static void main(String argv[]) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		int week = Integer.parseInt(br.readLine());
		double money = 100000;
		for (int i = 0; i < week; i++) {
			money = plusMoney(money);
		}
		System.out.printf("%.0f\n",money);
	}

	public static double plusMoney(double money) {
		money = money * 1.05;
		if (money % 1000 != 0) {
			money = money - money % 1000 + 1000;
		}
		return money;
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main{

	public static void main(String argv[]) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		int week = Integer.parseInt(br.readLine());
		double money = 100000;
		for (int i = 0; i < week; i++) {
			money = plusMoney(money);
		}
		System.out.printf("%.0f\n",money);
	}

	public static double plusMoney(double money) {
		money = money * 1.05;
		if (money % 1000 != 0) {
			money = money - money % 1000 + 1000;
		}
		return money;
	}

} Main public static void main(String argv[]) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		int week = Integer.parseInt(br.readLine());
		double money = 100000;
		for (int i = 0; i < week; i++) {
			money = plusMoney(money);
		}
		System.out.printf("%.0f\n",money);
	} main {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		int week = Integer.parseInt(br.readLine());
		double money = 100000;
		for (int i = 0; i < week; i++) {
			money = plusMoney(money);
		}
		System.out.printf("%.0f\n",money);
	} InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader br = new BufferedReader(is); br new BufferedReader(is) int week = Integer.parseInt(br.readLine()); week Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br double money = 100000; money 100000 for (int i = 0; i < week; i++) {
			money = plusMoney(money);
		} int i = 0; int i = 0; i 0 i < week i week i++ i++ i {
			money = plusMoney(money);
		} {
			money = plusMoney(money);
		} money = plusMoney(money) money plusMoney(money) plusMoney money System.out.printf("%.0f\n",money) System.out.printf System.out System System.out "%.0f\n" money String argv[] argv public static double plusMoney(double money) {
		money = money * 1.05;
		if (money % 1000 != 0) {
			money = money - money % 1000 + 1000;
		}
		return money;
	} plusMoney {
		money = money * 1.05;
		if (money % 1000 != 0) {
			money = money - money % 1000 + 1000;
		}
		return money;
	} money = money * 1.05 money money * 1.05 money 1.05 if (money % 1000 != 0) {
			money = money - money % 1000 + 1000;
		} money % 1000 != 0 money % 1000 money 1000 0 {
			money = money - money % 1000 + 1000;
		} money = money - money % 1000 + 1000 money money - money % 1000 + 1000 money - money % 1000 money money % 1000 money 1000 1000 return money; money double money money public class Main{

	public static void main(String argv[]) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		int week = Integer.parseInt(br.readLine());
		double money = 100000;
		for (int i = 0; i < week; i++) {
			money = plusMoney(money);
		}
		System.out.printf("%.0f\n",money);
	}

	public static double plusMoney(double money) {
		money = money * 1.05;
		if (money % 1000 != 0) {
			money = money - money % 1000 + 1000;
		}
		return money;
	}

} public class Main{

	public static void main(String argv[]) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		int week = Integer.parseInt(br.readLine());
		double money = 100000;
		for (int i = 0; i < week; i++) {
			money = plusMoney(money);
		}
		System.out.printf("%.0f\n",money);
	}

	public static double plusMoney(double money) {
		money = money * 1.05;
		if (money % 1000 != 0) {
			money = money - money % 1000 + 1000;
		}
		return money;
	}

} Main


import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main{

	public static void main(String argv[]) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		int week = Integer.parseInt(br.readLine());
		double money = 100000;
		for (int i = 0; i < week; i++) {
			money = plusMoney(money);
		}
		System.out.printf("%.0f\n",money);
	}

	public static double plusMoney(double money) {
		money = money * 1.05;
		if (money % 1000 != 0) {
			money = money - money % 1000 + 1000;
		}
		return money;
	}

}