import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double n = sc.nextInt();
		double gp = 100000.0;

		for (int i = 0; i < (int) n; i++) {
			gp += gp * 0.05;
			gp = (Math.ceil(gp / 1000)) * 1000;
		}


		System.out.println((int) gp);

	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double n = sc.nextInt();
		double gp = 100000.0;

		for (int i = 0; i < (int) n; i++) {
			gp += gp * 0.05;
			gp = (Math.ceil(gp / 1000)) * 1000;
		}


		System.out.println((int) gp);

	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double n = sc.nextInt();
		double gp = 100000.0;

		for (int i = 0; i < (int) n; i++) {
			gp += gp * 0.05;
			gp = (Math.ceil(gp / 1000)) * 1000;
		}


		System.out.println((int) gp);

	} main {
		Scanner sc = new Scanner(System.in);

		double n = sc.nextInt();
		double gp = 100000.0;

		for (int i = 0; i < (int) n; i++) {
			gp += gp * 0.05;
			gp = (Math.ceil(gp / 1000)) * 1000;
		}


		System.out.println((int) gp);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double n = sc.nextInt(); n sc.nextInt() sc.nextInt sc double gp = 100000.0; gp 100000.0 for (int i = 0; i < (int) n; i++) {
			gp += gp * 0.05;
			gp = (Math.ceil(gp / 1000)) * 1000;
		} int i = 0; int i = 0; i 0 i < (int) n i (int) n i++ i++ i {
			gp += gp * 0.05;
			gp = (Math.ceil(gp / 1000)) * 1000;
		} {
			gp += gp * 0.05;
			gp = (Math.ceil(gp / 1000)) * 1000;
		} gp += gp * 0.05 gp gp * 0.05 gp 0.05 gp = (Math.ceil(gp / 1000)) * 1000 gp (Math.ceil(gp / 1000)) * 1000 (Math.ceil(gp / 1000)) Math.ceil Math gp / 1000 gp 1000 1000 System.out.println((int) gp) System.out.println System.out System System.out (int) gp String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double n = sc.nextInt();
		double gp = 100000.0;

		for (int i = 0; i < (int) n; i++) {
			gp += gp * 0.05;
			gp = (Math.ceil(gp / 1000)) * 1000;
		}


		System.out.println((int) gp);

	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double n = sc.nextInt();
		double gp = 100000.0;

		for (int i = 0; i < (int) n; i++) {
			gp += gp * 0.05;
			gp = (Math.ceil(gp / 1000)) * 1000;
		}


		System.out.println((int) gp);

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double n = sc.nextInt();
		double gp = 100000.0;

		for (int i = 0; i < (int) n; i++) {
			gp += gp * 0.05;
			gp = (Math.ceil(gp / 1000)) * 1000;
		}


		System.out.println((int) gp);

	}

}