import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
	
		int n = new Scanner(System.in).nextInt();
		int money = 100000;
		for(int i = 0;i<n;i++){
			money *= 1.05;
			money = (money + 999) /1000 * 1000; 
		}
		System.out.println(money);
	}

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

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
	
		int n = new Scanner(System.in).nextInt();
		int money = 100000;
		for(int i = 0;i<n;i++){
			money *= 1.05;
			money = (money + 999) /1000 * 1000; 
		}
		System.out.println(money);
	}

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

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
	
		int n = new Scanner(System.in).nextInt();
		int money = 100000;
		for(int i = 0;i<n;i++){
			money *= 1.05;
			money = (money + 999) /1000 * 1000; 
		}
		System.out.println(money);
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
	
		int n = new Scanner(System.in).nextInt();
		int money = 100000;
		for(int i = 0;i<n;i++){
			money *= 1.05;
			money = (money + 999) /1000 * 1000; 
		}
		System.out.println(money);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
	
		int n = new Scanner(System.in).nextInt();
		int money = 100000;
		for(int i = 0;i<n;i++){
			money *= 1.05;
			money = (money + 999) /1000 * 1000; 
		}
		System.out.println(money);
	}

}