import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		int years;
		int money=100000;
		Scanner scanner = new Scanner(System.in);
		years = scanner.nextInt();
		
		for(int i=0; i<years; i++){
			money *= 1.05;
			if(money % 1000 != 0){
				money = money / 1000;
				money = money * 1000;
				money += 1000;
			}
		}
		System.out.println(money);
	}

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

	public static void main(String[] args) {
		int years;
		int money=100000;
		Scanner scanner = new Scanner(System.in);
		years = scanner.nextInt();
		
		for(int i=0; i<years; i++){
			money *= 1.05;
			if(money % 1000 != 0){
				money = money / 1000;
				money = money * 1000;
				money += 1000;
			}
		}
		System.out.println(money);
	}

} Main public static void main(String[] args) {
		int years;
		int money=100000;
		Scanner scanner = new Scanner(System.in);
		years = scanner.nextInt();
		
		for(int i=0; i<years; i++){
			money *= 1.05;
			if(money % 1000 != 0){
				money = money / 1000;
				money = money * 1000;
				money += 1000;
			}
		}
		System.out.println(money);
	} main {
		int years;
		int money=100000;
		Scanner scanner = new Scanner(System.in);
		years = scanner.nextInt();
		
		for(int i=0; i<years; i++){
			money *= 1.05;
			if(money % 1000 != 0){
				money = money / 1000;
				money = money * 1000;
				money += 1000;
			}
		}
		System.out.println(money);
	} int years; years int money=100000; money 100000 Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) years = scanner.nextInt() years scanner.nextInt() scanner.nextInt scanner for(int i=0; i<years; i++){
			money *= 1.05;
			if(money % 1000 != 0){
				money = money / 1000;
				money = money * 1000;
				money += 1000;
			}
		} int i=0; int i=0; i 0 i<years i years i++ i++ i {
			money *= 1.05;
			if(money % 1000 != 0){
				money = money / 1000;
				money = money * 1000;
				money += 1000;
			}
		} {
			money *= 1.05;
			if(money % 1000 != 0){
				money = money / 1000;
				money = money * 1000;
				money += 1000;
			}
		} money *= 1.05 money 1.05 if(money % 1000 != 0){
				money = money / 1000;
				money = money * 1000;
				money += 1000;
			} money % 1000 != 0 money % 1000 money 1000 0 {
				money = money / 1000;
				money = money * 1000;
				money += 1000;
			} money = money / 1000 money money / 1000 money 1000 money = money * 1000 money money * 1000 money 1000 money += 1000 money 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) {
		int years;
		int money=100000;
		Scanner scanner = new Scanner(System.in);
		years = scanner.nextInt();
		
		for(int i=0; i<years; i++){
			money *= 1.05;
			if(money % 1000 != 0){
				money = money / 1000;
				money = money * 1000;
				money += 1000;
			}
		}
		System.out.println(money);
	}

} public class Main {

	public static void main(String[] args) {
		int years;
		int money=100000;
		Scanner scanner = new Scanner(System.in);
		years = scanner.nextInt();
		
		for(int i=0; i<years; i++){
			money *= 1.05;
			if(money % 1000 != 0){
				money = money / 1000;
				money = money * 1000;
				money += 1000;
			}
		}
		System.out.println(money);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		int years;
		int money=100000;
		Scanner scanner = new Scanner(System.in);
		years = scanner.nextInt();
		
		for(int i=0; i<years; i++){
			money *= 1.05;
			if(money % 1000 != 0){
				money = money / 1000;
				money = money * 1000;
				money += 1000;
			}
		}
		System.out.println(money);
	}

}