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

public class Main {

	public static void main(String[] args) {
		int monthTerm = Integer.parseInt(input());

		int principal = 100000;

		while (monthTerm != 0) {
			principal += principal * 0.05;
			int fraction = principal % 1000;
			if (fraction != 0) {
				principal += 1000 - fraction;
			}
			monthTerm--;
		}

		System.out.println(principal);

	}

	private static String input() {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String input = null;
		try {
			input = br.readLine();
		} catch (IOException e) {
			System.out.println("読み込みに失敗しました");
			e.printStackTrace();
		}
		return input;
	}


} 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) {
		int monthTerm = Integer.parseInt(input());

		int principal = 100000;

		while (monthTerm != 0) {
			principal += principal * 0.05;
			int fraction = principal % 1000;
			if (fraction != 0) {
				principal += 1000 - fraction;
			}
			monthTerm--;
		}

		System.out.println(principal);

	}

	private static String input() {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String input = null;
		try {
			input = br.readLine();
		} catch (IOException e) {
			System.out.println("読み込みに失敗しました");
			e.printStackTrace();
		}
		return input;
	}


} Main public static void main(String[] args) {
		int monthTerm = Integer.parseInt(input());

		int principal = 100000;

		while (monthTerm != 0) {
			principal += principal * 0.05;
			int fraction = principal % 1000;
			if (fraction != 0) {
				principal += 1000 - fraction;
			}
			monthTerm--;
		}

		System.out.println(principal);

	} main {
		int monthTerm = Integer.parseInt(input());

		int principal = 100000;

		while (monthTerm != 0) {
			principal += principal * 0.05;
			int fraction = principal % 1000;
			if (fraction != 0) {
				principal += 1000 - fraction;
			}
			monthTerm--;
		}

		System.out.println(principal);

	} int monthTerm = Integer.parseInt(input()); monthTerm Integer.parseInt(input()) Integer.parseInt Integer input() input int principal = 100000; principal 100000 while (monthTerm != 0) {
			principal += principal * 0.05;
			int fraction = principal % 1000;
			if (fraction != 0) {
				principal += 1000 - fraction;
			}
			monthTerm--;
		} monthTerm != 0 monthTerm 0 {
			principal += principal * 0.05;
			int fraction = principal % 1000;
			if (fraction != 0) {
				principal += 1000 - fraction;
			}
			monthTerm--;
		} principal += principal * 0.05 principal principal * 0.05 principal 0.05 int fraction = principal % 1000; fraction principal % 1000 principal 1000 if (fraction != 0) {
				principal += 1000 - fraction;
			} fraction != 0 fraction 0 {
				principal += 1000 - fraction;
			} principal += 1000 - fraction principal 1000 - fraction 1000 fraction monthTerm-- monthTerm System.out.println(principal) System.out.println System.out System System.out principal String[] args args private static String input() {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String input = null;
		try {
			input = br.readLine();
		} catch (IOException e) {
			System.out.println("読み込みに失敗しました");
			e.printStackTrace();
		}
		return input;
	} input {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String input = null;
		try {
			input = br.readLine();
		} catch (IOException e) {
			System.out.println("読み込みに失敗しました");
			e.printStackTrace();
		}
		return input;
	} InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) String input = null; input null try {
			input = br.readLine();
		} catch (IOException e) {
			System.out.println("読み込みに失敗しました");
			e.printStackTrace();
		} catch (IOException e) {
			System.out.println("読み込みに失敗しました");
			e.printStackTrace();
		} IOException e {
			System.out.println("読み込みに失敗しました");
			e.printStackTrace();
		} System.out.println("読み込みに失敗しました") System.out.println System.out System System.out "読み込みに失敗しました" e.printStackTrace() e.printStackTrace e {
			input = br.readLine();
		} input = br.readLine() input br.readLine() br.readLine br return input; input public class Main {

	public static void main(String[] args) {
		int monthTerm = Integer.parseInt(input());

		int principal = 100000;

		while (monthTerm != 0) {
			principal += principal * 0.05;
			int fraction = principal % 1000;
			if (fraction != 0) {
				principal += 1000 - fraction;
			}
			monthTerm--;
		}

		System.out.println(principal);

	}

	private static String input() {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String input = null;
		try {
			input = br.readLine();
		} catch (IOException e) {
			System.out.println("読み込みに失敗しました");
			e.printStackTrace();
		}
		return input;
	}


} public class Main {

	public static void main(String[] args) {
		int monthTerm = Integer.parseInt(input());

		int principal = 100000;

		while (monthTerm != 0) {
			principal += principal * 0.05;
			int fraction = principal % 1000;
			if (fraction != 0) {
				principal += 1000 - fraction;
			}
			monthTerm--;
		}

		System.out.println(principal);

	}

	private static String input() {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String input = null;
		try {
			input = br.readLine();
		} catch (IOException e) {
			System.out.println("読み込みに失敗しました");
			e.printStackTrace();
		}
		return input;
	}


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

public class Main {

	public static void main(String[] args) {
		int monthTerm = Integer.parseInt(input());

		int principal = 100000;

		while (monthTerm != 0) {
			principal += principal * 0.05;
			int fraction = principal % 1000;
			if (fraction != 0) {
				principal += 1000 - fraction;
			}
			monthTerm--;
		}

		System.out.println(principal);

	}

	private static String input() {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String input = null;
		try {
			input = br.readLine();
		} catch (IOException e) {
			System.out.println("読み込みに失敗しました");
			e.printStackTrace();
		}
		return input;
	}


}