import java.util.Scanner;


public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner	stdin = new Scanner(System.in);
		int		nWeek = stdin.nextInt();
		int		nRent = 100000;
		int		nTmp  = 0;

		for(int nLoop = 0; nLoop < nWeek; nLoop++) {
			nRent *= 1.05;
			nTmp   = nRent % 1000;
			nRent /= 1000;
			nRent  = ((nTmp > 0) ? nRent + 1 : nRent) * 1000;
		}

		System.out.printf("%d\n", nRent);
	}

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

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner	stdin = new Scanner(System.in);
		int		nWeek = stdin.nextInt();
		int		nRent = 100000;
		int		nTmp  = 0;

		for(int nLoop = 0; nLoop < nWeek; nLoop++) {
			nRent *= 1.05;
			nTmp   = nRent % 1000;
			nRent /= 1000;
			nRent  = ((nTmp > 0) ? nRent + 1 : nRent) * 1000;
		}

		System.out.printf("%d\n", nRent);
	}

} Main /**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner	stdin = new Scanner(System.in);
		int		nWeek = stdin.nextInt();
		int		nRent = 100000;
		int		nTmp  = 0;

		for(int nLoop = 0; nLoop < nWeek; nLoop++) {
			nRent *= 1.05;
			nTmp   = nRent % 1000;
			nRent /= 1000;
			nRent  = ((nTmp > 0) ? nRent + 1 : nRent) * 1000;
		}

		System.out.printf("%d\n", nRent);
	} main {
		// TODO Auto-generated method stub
		Scanner	stdin = new Scanner(System.in);
		int		nWeek = stdin.nextInt();
		int		nRent = 100000;
		int		nTmp  = 0;

		for(int nLoop = 0; nLoop < nWeek; nLoop++) {
			nRent *= 1.05;
			nTmp   = nRent % 1000;
			nRent /= 1000;
			nRent  = ((nTmp > 0) ? nRent + 1 : nRent) * 1000;
		}

		System.out.printf("%d\n", nRent);
	} Scanner	stdin = new Scanner(System.in); stdin new Scanner(System.in) int		nWeek = stdin.nextInt(); nWeek stdin.nextInt() stdin.nextInt stdin int		nRent = 100000; nRent 100000 int		nTmp  = 0; nTmp 0 for(int nLoop = 0; nLoop < nWeek; nLoop++) {
			nRent *= 1.05;
			nTmp   = nRent % 1000;
			nRent /= 1000;
			nRent  = ((nTmp > 0) ? nRent + 1 : nRent) * 1000;
		} int nLoop = 0; int nLoop = 0; nLoop 0 nLoop < nWeek nLoop nWeek nLoop++ nLoop++ nLoop {
			nRent *= 1.05;
			nTmp   = nRent % 1000;
			nRent /= 1000;
			nRent  = ((nTmp > 0) ? nRent + 1 : nRent) * 1000;
		} {
			nRent *= 1.05;
			nTmp   = nRent % 1000;
			nRent /= 1000;
			nRent  = ((nTmp > 0) ? nRent + 1 : nRent) * 1000;
		} nRent *= 1.05 nRent 1.05 nTmp   = nRent % 1000 nTmp nRent % 1000 nRent 1000 nRent /= 1000 nRent 1000 nRent  = ((nTmp > 0) ? nRent + 1 : nRent) * 1000 nRent ((nTmp > 0) ? nRent + 1 : nRent) * 1000 ((nTmp > 0) ? nRent + 1 : nRent) (nTmp > 0) nTmp 0 nRent + 1 nRent 1 nRent 1000 System.out.printf("%d\n", nRent) System.out.printf System.out System System.out "%d\n" nRent String[] args args public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner	stdin = new Scanner(System.in);
		int		nWeek = stdin.nextInt();
		int		nRent = 100000;
		int		nTmp  = 0;

		for(int nLoop = 0; nLoop < nWeek; nLoop++) {
			nRent *= 1.05;
			nTmp   = nRent % 1000;
			nRent /= 1000;
			nRent  = ((nTmp > 0) ? nRent + 1 : nRent) * 1000;
		}

		System.out.printf("%d\n", nRent);
	}

} public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner	stdin = new Scanner(System.in);
		int		nWeek = stdin.nextInt();
		int		nRent = 100000;
		int		nTmp  = 0;

		for(int nLoop = 0; nLoop < nWeek; nLoop++) {
			nRent *= 1.05;
			nTmp   = nRent % 1000;
			nRent /= 1000;
			nRent  = ((nTmp > 0) ? nRent + 1 : nRent) * 1000;
		}

		System.out.printf("%d\n", nRent);
	}

} Main
import java.util.Scanner;


public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner	stdin = new Scanner(System.in);
		int		nWeek = stdin.nextInt();
		int		nRent = 100000;
		int		nTmp  = 0;

		for(int nLoop = 0; nLoop < nWeek; nLoop++) {
			nRent *= 1.05;
			nTmp   = nRent % 1000;
			nRent /= 1000;
			nRent  = ((nTmp > 0) ? nRent + 1 : nRent) * 1000;
		}

		System.out.printf("%d\n", nRent);
	}

}