import java.util.Scanner;
class Main{
	public static void main(String[] a){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int debt = 100000;
		for(int i = 0; i < n; i++){
			debt += debt / 20;
			debt = up(debt);
		}
		System.out.println(debt);
	}
	static int up(int money){
		money += 999;
		money -= money % 1000;
		return money;
	}
} import java.util.Scanner; Scanner java.util class Main{
	public static void main(String[] a){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int debt = 100000;
		for(int i = 0; i < n; i++){
			debt += debt / 20;
			debt = up(debt);
		}
		System.out.println(debt);
	}
	static int up(int money){
		money += 999;
		money -= money % 1000;
		return money;
	}
} Main public static void main(String[] a){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int debt = 100000;
		for(int i = 0; i < n; i++){
			debt += debt / 20;
			debt = up(debt);
		}
		System.out.println(debt);
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int debt = 100000;
		for(int i = 0; i < n; i++){
			debt += debt / 20;
			debt = up(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 += debt / 20;
			debt = up(debt);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			debt += debt / 20;
			debt = up(debt);
		} {
			debt += debt / 20;
			debt = up(debt);
		} debt += debt / 20 debt debt / 20 debt 20 debt = up(debt) debt up(debt) up debt System.out.println(debt) System.out.println System.out System System.out debt String[] a a static int up(int money){
		money += 999;
		money -= money % 1000;
		return money;
	} up {
		money += 999;
		money -= money % 1000;
		return money;
	} money += 999 money 999 money -= money % 1000 money money % 1000 money 1000 return money; money int money money
import java.util.Scanner;
class Main{
	public static void main(String[] a){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int debt = 100000;
		for(int i = 0; i < n; i++){
			debt += debt / 20;
			debt = up(debt);
		}
		System.out.println(debt);
	}
	static int up(int money){
		money += 999;
		money -= money % 1000;
		return money;
	}
}