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

class Main {

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		int debt = 100000;

		Double interest = 1.05;

		for (int i = 0; i < n; i++) {

			debt *= interest;

			if (!(debt % 1000 == 0)) {
				debt /= 1000;
				debt++;
				debt *= 1000;
			}

		}

		System.out.println(debt);

	}

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

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		int debt = 100000;

		Double interest = 1.05;

		for (int i = 0; i < n; i++) {

			debt *= interest;

			if (!(debt % 1000 == 0)) {
				debt /= 1000;
				debt++;
				debt *= 1000;
			}

		}

		System.out.println(debt);

	}

} Main public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		int debt = 100000;

		Double interest = 1.05;

		for (int i = 0; i < n; i++) {

			debt *= interest;

			if (!(debt % 1000 == 0)) {
				debt /= 1000;
				debt++;
				debt *= 1000;
			}

		}

		System.out.println(debt);

	} main {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		int debt = 100000;

		Double interest = 1.05;

		for (int i = 0; i < n; i++) {

			debt *= interest;

			if (!(debt % 1000 == 0)) {
				debt /= 1000;
				debt++;
				debt *= 1000;
			}

		}

		System.out.println(debt);

	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int debt = 100000; debt 100000 Double interest = 1.05; interest 1.05 for (int i = 0; i < n; i++) {

			debt *= interest;

			if (!(debt % 1000 == 0)) {
				debt /= 1000;
				debt++;
				debt *= 1000;
			}

		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {

			debt *= interest;

			if (!(debt % 1000 == 0)) {
				debt /= 1000;
				debt++;
				debt *= 1000;
			}

		} {

			debt *= interest;

			if (!(debt % 1000 == 0)) {
				debt /= 1000;
				debt++;
				debt *= 1000;
			}

		} debt *= interest debt interest if (!(debt % 1000 == 0)) {
				debt /= 1000;
				debt++;
				debt *= 1000;
			} !(debt % 1000 == 0) (debt % 1000 == 0) debt % 1000 debt 1000 0 {
				debt /= 1000;
				debt++;
				debt *= 1000;
			} debt /= 1000 debt 1000 debt++ debt debt *= 1000 debt 1000 System.out.println(debt) System.out.println System.out System System.out debt String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		int debt = 100000;

		Double interest = 1.05;

		for (int i = 0; i < n; i++) {

			debt *= interest;

			if (!(debt % 1000 == 0)) {
				debt /= 1000;
				debt++;
				debt *= 1000;
			}

		}

		System.out.println(debt);

	}

}