import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double p = 100000;
		int n = s.nextInt();
		for(int i = 0; i < n; ++i) {
			p *= 1.05;
			p = Math.ceil(p / 1000) * 1000;
		}
		System.out.println((int)p);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double p = 100000;
		int n = s.nextInt();
		for(int i = 0; i < n; ++i) {
			p *= 1.05;
			p = Math.ceil(p / 1000) * 1000;
		}
		System.out.println((int)p);
	}
} Main public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double p = 100000;
		int n = s.nextInt();
		for(int i = 0; i < n; ++i) {
			p *= 1.05;
			p = Math.ceil(p / 1000) * 1000;
		}
		System.out.println((int)p);
	} main {
		Scanner s = new Scanner(System.in);
		double p = 100000;
		int n = s.nextInt();
		for(int i = 0; i < n; ++i) {
			p *= 1.05;
			p = Math.ceil(p / 1000) * 1000;
		}
		System.out.println((int)p);
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) double p = 100000; p 100000 int n = s.nextInt(); n s.nextInt() s.nextInt s for(int i = 0; i < n; ++i) {
			p *= 1.05;
			p = Math.ceil(p / 1000) * 1000;
		} int i = 0; int i = 0; i 0 i < n i n ++i ++i i {
			p *= 1.05;
			p = Math.ceil(p / 1000) * 1000;
		} {
			p *= 1.05;
			p = Math.ceil(p / 1000) * 1000;
		} p *= 1.05 p 1.05 p = Math.ceil(p / 1000) * 1000 p Math.ceil(p / 1000) * 1000 Math.ceil(p / 1000) Math.ceil Math p / 1000 p 1000 1000 System.out.println((int)p) System.out.println System.out System System.out (int)p String[] args args public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double p = 100000;
		int n = s.nextInt();
		for(int i = 0; i < n; ++i) {
			p *= 1.05;
			p = Math.ceil(p / 1000) * 1000;
		}
		System.out.println((int)p);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double p = 100000;
		int n = s.nextInt();
		for(int i = 0; i < n; ++i) {
			p *= 1.05;
			p = Math.ceil(p / 1000) * 1000;
		}
		System.out.println((int)p);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double p = 100000;
		int n = s.nextInt();
		for(int i = 0; i < n; ++i) {
			p *= 1.05;
			p = Math.ceil(p / 1000) * 1000;
		}
		System.out.println((int)p);
	}
}