import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double loan = 100000;
		int week;

		while ((scan.hasNext())) {
			week = Integer.parseInt(scan.next());
			for (int i = 0; i < week; i++) {
				loan = loan * 1.05;

				loan = loan / 1000.0;
				BigDecimal bi = new BigDecimal(String.valueOf(loan));
				loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0;
			}
			System.out.println((int) loan);

		}
	}
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double loan = 100000;
		int week;

		while ((scan.hasNext())) {
			week = Integer.parseInt(scan.next());
			for (int i = 0; i < week; i++) {
				loan = loan * 1.05;

				loan = loan / 1000.0;
				BigDecimal bi = new BigDecimal(String.valueOf(loan));
				loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0;
			}
			System.out.println((int) loan);

		}
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double loan = 100000;
		int week;

		while ((scan.hasNext())) {
			week = Integer.parseInt(scan.next());
			for (int i = 0; i < week; i++) {
				loan = loan * 1.05;

				loan = loan / 1000.0;
				BigDecimal bi = new BigDecimal(String.valueOf(loan));
				loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0;
			}
			System.out.println((int) loan);

		}
	} main {
		Scanner scan = new Scanner(System.in);
		double loan = 100000;
		int week;

		while ((scan.hasNext())) {
			week = Integer.parseInt(scan.next());
			for (int i = 0; i < week; i++) {
				loan = loan * 1.05;

				loan = loan / 1000.0;
				BigDecimal bi = new BigDecimal(String.valueOf(loan));
				loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0;
			}
			System.out.println((int) loan);

		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double loan = 100000; loan 100000 int week; week while ((scan.hasNext())) {
			week = Integer.parseInt(scan.next());
			for (int i = 0; i < week; i++) {
				loan = loan * 1.05;

				loan = loan / 1000.0;
				BigDecimal bi = new BigDecimal(String.valueOf(loan));
				loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0;
			}
			System.out.println((int) loan);

		} (scan.hasNext()) scan.hasNext scan {
			week = Integer.parseInt(scan.next());
			for (int i = 0; i < week; i++) {
				loan = loan * 1.05;

				loan = loan / 1000.0;
				BigDecimal bi = new BigDecimal(String.valueOf(loan));
				loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0;
			}
			System.out.println((int) loan);

		} week = Integer.parseInt(scan.next()) week Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan for (int i = 0; i < week; i++) {
				loan = loan * 1.05;

				loan = loan / 1000.0;
				BigDecimal bi = new BigDecimal(String.valueOf(loan));
				loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0;
			} int i = 0; int i = 0; i 0 i < week i week i++ i++ i {
				loan = loan * 1.05;

				loan = loan / 1000.0;
				BigDecimal bi = new BigDecimal(String.valueOf(loan));
				loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0;
			} {
				loan = loan * 1.05;

				loan = loan / 1000.0;
				BigDecimal bi = new BigDecimal(String.valueOf(loan));
				loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0;
			} loan = loan * 1.05 loan loan * 1.05 loan 1.05 loan = loan / 1000.0 loan loan / 1000.0 loan 1000.0 BigDecimal bi = new BigDecimal(String.valueOf(loan)); bi new BigDecimal(String.valueOf(loan)) loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0 loan (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0 (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) bi.setScale(0, BigDecimal.ROUND_UP).doubleValue bi.setScale(0, BigDecimal.ROUND_UP) bi.setScale bi 0 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP 1000.0 System.out.println((int) loan) System.out.println System.out System System.out (int) loan String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double loan = 100000;
		int week;

		while ((scan.hasNext())) {
			week = Integer.parseInt(scan.next());
			for (int i = 0; i < week; i++) {
				loan = loan * 1.05;

				loan = loan / 1000.0;
				BigDecimal bi = new BigDecimal(String.valueOf(loan));
				loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0;
			}
			System.out.println((int) loan);

		}
	}
} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double loan = 100000;
		int week;

		while ((scan.hasNext())) {
			week = Integer.parseInt(scan.next());
			for (int i = 0; i < week; i++) {
				loan = loan * 1.05;

				loan = loan / 1000.0;
				BigDecimal bi = new BigDecimal(String.valueOf(loan));
				loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0;
			}
			System.out.println((int) loan);

		}
	}
} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double loan = 100000;
		int week;

		while ((scan.hasNext())) {
			week = Integer.parseInt(scan.next());
			for (int i = 0; i < week; i++) {
				loan = loan * 1.05;

				loan = loan / 1000.0;
				BigDecimal bi = new BigDecimal(String.valueOf(loan));
				loan = (bi.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000.0;
			}
			System.out.println((int) loan);

		}
	}
}