import java.util.*;

public class Main {

	public static void main(String[] args) {
		new Main().run();
	}
	
	private void run() {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int debt = 100000;
		for (int i = 0; i < n; i++) {
			debt *= 1.05;
			if (debt % 1000 > 0) {
				debt = (int)(debt / 1000) * 1000  + 1000;
				//System.out.println(debt);
			}
		}
		
		System.out.println(debt);
	}
} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		new Main().run();
	}
	
	private void run() {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int debt = 100000;
		for (int i = 0; i < n; i++) {
			debt *= 1.05;
			if (debt % 1000 > 0) {
				debt = (int)(debt / 1000) * 1000  + 1000;
				//System.out.println(debt);
			}
		}
		
		System.out.println(debt);
	}
} Main public static void main(String[] args) {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args private void run() {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int debt = 100000;
		for (int i = 0; i < n; i++) {
			debt *= 1.05;
			if (debt % 1000 > 0) {
				debt = (int)(debt / 1000) * 1000  + 1000;
				//System.out.println(debt);
			}
		}
		
		System.out.println(debt);
	} run {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int debt = 100000;
		for (int i = 0; i < n; i++) {
			debt *= 1.05;
			if (debt % 1000 > 0) {
				debt = (int)(debt / 1000) * 1000  + 1000;
				//System.out.println(debt);
			}
		}
		
		System.out.println(debt);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int debt = 100000; debt 100000 for (int i = 0; i < n; i++) {
			debt *= 1.05;
			if (debt % 1000 > 0) {
				debt = (int)(debt / 1000) * 1000  + 1000;
				//System.out.println(debt);
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			debt *= 1.05;
			if (debt % 1000 > 0) {
				debt = (int)(debt / 1000) * 1000  + 1000;
				//System.out.println(debt);
			}
		} {
			debt *= 1.05;
			if (debt % 1000 > 0) {
				debt = (int)(debt / 1000) * 1000  + 1000;
				//System.out.println(debt);
			}
		} debt *= 1.05 debt 1.05 if (debt % 1000 > 0) {
				debt = (int)(debt / 1000) * 1000  + 1000;
				//System.out.println(debt);
			} debt % 1000 > 0 debt % 1000 debt 1000 0 {
				debt = (int)(debt / 1000) * 1000  + 1000;
				//System.out.println(debt);
			} debt = (int)(debt / 1000) * 1000  + 1000 debt (int)(debt / 1000) * 1000  + 1000 (int)(debt / 1000) * 1000 (int)(debt / 1000) debt 1000 1000 1000 System.out.println(debt) System.out.println System.out System System.out debt public class Main {

	public static void main(String[] args) {
		new Main().run();
	}
	
	private void run() {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int debt = 100000;
		for (int i = 0; i < n; i++) {
			debt *= 1.05;
			if (debt % 1000 > 0) {
				debt = (int)(debt / 1000) * 1000  + 1000;
				//System.out.println(debt);
			}
		}
		
		System.out.println(debt);
	}
} public class Main {

	public static void main(String[] args) {
		new Main().run();
	}
	
	private void run() {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int debt = 100000;
		for (int i = 0; i < n; i++) {
			debt *= 1.05;
			if (debt % 1000 > 0) {
				debt = (int)(debt / 1000) * 1000  + 1000;
				//System.out.println(debt);
			}
		}
		
		System.out.println(debt);
	}
} Main
import java.util.*;

public class Main {

	public static void main(String[] args) {
		new Main().run();
	}
	
	private void run() {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int debt = 100000;
		for (int i = 0; i < n; i++) {
			debt *= 1.05;
			if (debt % 1000 > 0) {
				debt = (int)(debt / 1000) * 1000  + 1000;
				//System.out.println(debt);
			}
		}
		
		System.out.println(debt);
	}
}