import java.util.Scanner;


public class Main {

	
	public static void main(String[] args) {
		double debt = 100000;
		Scanner stdIn = new Scanner(System.in);
		int n = Integer.parseInt(stdIn.next());
		for (int i = 1; i <= n; i++) {
			debt += (debt * 0.05);
			int tmp = (int)(debt / 1000);
			if((debt/1000) != tmp) debt = ((tmp*1000) + 1000);
		}
		System.out.println((long)debt);
	}

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

	
	public static void main(String[] args) {
		double debt = 100000;
		Scanner stdIn = new Scanner(System.in);
		int n = Integer.parseInt(stdIn.next());
		for (int i = 1; i <= n; i++) {
			debt += (debt * 0.05);
			int tmp = (int)(debt / 1000);
			if((debt/1000) != tmp) debt = ((tmp*1000) + 1000);
		}
		System.out.println((long)debt);
	}

} Main public static void main(String[] args) {
		double debt = 100000;
		Scanner stdIn = new Scanner(System.in);
		int n = Integer.parseInt(stdIn.next());
		for (int i = 1; i <= n; i++) {
			debt += (debt * 0.05);
			int tmp = (int)(debt / 1000);
			if((debt/1000) != tmp) debt = ((tmp*1000) + 1000);
		}
		System.out.println((long)debt);
	} main {
		double debt = 100000;
		Scanner stdIn = new Scanner(System.in);
		int n = Integer.parseInt(stdIn.next());
		for (int i = 1; i <= n; i++) {
			debt += (debt * 0.05);
			int tmp = (int)(debt / 1000);
			if((debt/1000) != tmp) debt = ((tmp*1000) + 1000);
		}
		System.out.println((long)debt);
	} double debt = 100000; debt 100000 Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int n = Integer.parseInt(stdIn.next()); n Integer.parseInt(stdIn.next()) Integer.parseInt Integer stdIn.next() stdIn.next stdIn for (int i = 1; i <= n; i++) {
			debt += (debt * 0.05);
			int tmp = (int)(debt / 1000);
			if((debt/1000) != tmp) debt = ((tmp*1000) + 1000);
		} int i = 1; int i = 1; i 1 i <= n i n i++ i++ i {
			debt += (debt * 0.05);
			int tmp = (int)(debt / 1000);
			if((debt/1000) != tmp) debt = ((tmp*1000) + 1000);
		} {
			debt += (debt * 0.05);
			int tmp = (int)(debt / 1000);
			if((debt/1000) != tmp) debt = ((tmp*1000) + 1000);
		} debt += (debt * 0.05) debt (debt * 0.05) debt 0.05 int tmp = (int)(debt / 1000); tmp (int)(debt / 1000) debt 1000 if((debt/1000) != tmp) debt = ((tmp*1000) + 1000); (debt/1000) != tmp (debt/1000) debt 1000 tmp debt = ((tmp*1000) + 1000) debt ((tmp*1000) + 1000) (tmp*1000) tmp 1000 1000 System.out.println((long)debt) System.out.println System.out System System.out (long)debt String[] args args public class Main {

	
	public static void main(String[] args) {
		double debt = 100000;
		Scanner stdIn = new Scanner(System.in);
		int n = Integer.parseInt(stdIn.next());
		for (int i = 1; i <= n; i++) {
			debt += (debt * 0.05);
			int tmp = (int)(debt / 1000);
			if((debt/1000) != tmp) debt = ((tmp*1000) + 1000);
		}
		System.out.println((long)debt);
	}

} public class Main {

	
	public static void main(String[] args) {
		double debt = 100000;
		Scanner stdIn = new Scanner(System.in);
		int n = Integer.parseInt(stdIn.next());
		for (int i = 1; i <= n; i++) {
			debt += (debt * 0.05);
			int tmp = (int)(debt / 1000);
			if((debt/1000) != tmp) debt = ((tmp*1000) + 1000);
		}
		System.out.println((long)debt);
	}

} Main
import java.util.Scanner;


public class Main {

	
	public static void main(String[] args) {
		double debt = 100000;
		Scanner stdIn = new Scanner(System.in);
		int n = Integer.parseInt(stdIn.next());
		for (int i = 1; i <= n; i++) {
			debt += (debt * 0.05);
			int tmp = (int)(debt / 1000);
			if((debt/1000) != tmp) debt = ((tmp*1000) + 1000);
		}
		System.out.println((long)debt);
	}

}