import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int m = (int) Math.pow(10, 5);
		for (int i = 0; i < n; i++) {
			m *= 1.05;
			int range = 1000;
			if (m % range != 0)
				m = (m / range + 1) * range;
		}
		System.out.println(m);
		sc.close();

	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int m = (int) Math.pow(10, 5);
		for (int i = 0; i < n; i++) {
			m *= 1.05;
			int range = 1000;
			if (m % range != 0)
				m = (m / range + 1) * range;
		}
		System.out.println(m);
		sc.close();

	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int m = (int) Math.pow(10, 5);
		for (int i = 0; i < n; i++) {
			m *= 1.05;
			int range = 1000;
			if (m % range != 0)
				m = (m / range + 1) * range;
		}
		System.out.println(m);
		sc.close();

	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int m = (int) Math.pow(10, 5);
		for (int i = 0; i < n; i++) {
			m *= 1.05;
			int range = 1000;
			if (m % range != 0)
				m = (m / range + 1) * range;
		}
		System.out.println(m);
		sc.close();

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int m = (int) Math.pow(10, 5); m (int) Math.pow(10, 5) Math.pow Math 10 5 for (int i = 0; i < n; i++) {
			m *= 1.05;
			int range = 1000;
			if (m % range != 0)
				m = (m / range + 1) * range;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			m *= 1.05;
			int range = 1000;
			if (m % range != 0)
				m = (m / range + 1) * range;
		} {
			m *= 1.05;
			int range = 1000;
			if (m % range != 0)
				m = (m / range + 1) * range;
		} m *= 1.05 m 1.05 int range = 1000; range 1000 if (m % range != 0)
				m = (m / range + 1) * range; m % range != 0 m % range m range 0 m = (m / range + 1) * range m (m / range + 1) * range (m / range + 1) m / range m range 1 range System.out.println(m) System.out.println System.out System System.out m sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int m = (int) Math.pow(10, 5);
		for (int i = 0; i < n; i++) {
			m *= 1.05;
			int range = 1000;
			if (m % range != 0)
				m = (m / range + 1) * range;
		}
		System.out.println(m);
		sc.close();

	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int m = (int) Math.pow(10, 5);
		for (int i = 0; i < n; i++) {
			m *= 1.05;
			int range = 1000;
			if (m % range != 0)
				m = (m / range + 1) * range;
		}
		System.out.println(m);
		sc.close();

	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int m = (int) Math.pow(10, 5);
		for (int i = 0; i < n; i++) {
			m *= 1.05;
			int range = 1000;
			if (m % range != 0)
				m = (m / range + 1) * range;
		}
		System.out.println(m);
		sc.close();

	}
}