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

public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		// ??????10??????
		 int debt = 100000;

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

		// n??±??????
		int n = Integer.parseInt(br.readLine());

		// n??±????????????????????§??°?????????
		for (int i = 0; i < n; i++ ){
			// ??????5
			debt *= 1.05;

			// 1000?????????????????????
			if (debt % 1000 > 0) {
				debt = debt - (debt % 1000) + 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 public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		// ??????10??????
		 int debt = 100000;

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

		// n??±??????
		int n = Integer.parseInt(br.readLine());

		// n??±????????????????????§??°?????????
		for (int i = 0; i < n; i++ ){
			// ??????5
			debt *= 1.05;

			// 1000?????????????????????
			if (debt % 1000 > 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		}

		System.out.println(debt);
	}
} Main public static void main(String[] args) throws NumberFormatException, IOException {
		// ??????10??????
		 int debt = 100000;

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

		// n??±??????
		int n = Integer.parseInt(br.readLine());

		// n??±????????????????????§??°?????????
		for (int i = 0; i < n; i++ ){
			// ??????5
			debt *= 1.05;

			// 1000?????????????????????
			if (debt % 1000 > 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		}

		System.out.println(debt);
	} main {
		// ??????10??????
		 int debt = 100000;

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

		// n??±??????
		int n = Integer.parseInt(br.readLine());

		// n??±????????????????????§??°?????????
		for (int i = 0; i < n; i++ ){
			// ??????5
			debt *= 1.05;

			// 1000?????????????????????
			if (debt % 1000 > 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		}

		System.out.println(debt);
	} int debt = 100000; debt 100000 InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br for (int i = 0; i < n; i++ ){
			// ??????5
			debt *= 1.05;

			// 1000?????????????????????
			if (debt % 1000 > 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			// ??????5
			debt *= 1.05;

			// 1000?????????????????????
			if (debt % 1000 > 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		} {
			// ??????5
			debt *= 1.05;

			// 1000?????????????????????
			if (debt % 1000 > 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		} debt *= 1.05 debt 1.05 if (debt % 1000 > 0) {
				debt = debt - (debt % 1000) + 1000;
			} debt % 1000 > 0 debt % 1000 debt 1000 0 {
				debt = debt - (debt % 1000) + 1000;
			} debt = debt - (debt % 1000) + 1000 debt debt - (debt % 1000) + 1000 debt - (debt % 1000) debt (debt % 1000) debt 1000 1000 System.out.println(debt) System.out.println System.out System System.out debt String[] args args public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		// ??????10??????
		 int debt = 100000;

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

		// n??±??????
		int n = Integer.parseInt(br.readLine());

		// n??±????????????????????§??°?????????
		for (int i = 0; i < n; i++ ){
			// ??????5
			debt *= 1.05;

			// 1000?????????????????????
			if (debt % 1000 > 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		}

		System.out.println(debt);
	}
} public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		// ??????10??????
		 int debt = 100000;

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

		// n??±??????
		int n = Integer.parseInt(br.readLine());

		// n??±????????????????????§??°?????????
		for (int i = 0; i < n; i++ ){
			// ??????5
			debt *= 1.05;

			// 1000?????????????????????
			if (debt % 1000 > 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		}

		System.out.println(debt);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		// ??????10??????
		 int debt = 100000;

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

		// n??±??????
		int n = Integer.parseInt(br.readLine());

		// n??±????????????????????§??°?????????
		for (int i = 0; i < n; i++ ){
			// ??????5
			debt *= 1.05;

			// 1000?????????????????????
			if (debt % 1000 > 0) {
				debt = debt - (debt % 1000) + 1000;
			}
		}

		System.out.println(debt);
	}
}