import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		int N = scanner.nextInt();
		int Debt = 100000;
		Debt= ratecal(N,Debt);
		System.out.println(Debt);
	}

	public static int ratecal(int N, int Debt ){
		
		while(N > 0){
			Debt = (int)(Debt * 1.05);
			if(Debt % 1000 > 0 ){
				Debt = ((Debt/1000) + 1) * 1000;
			}
			else {
				Debt = (Debt/1000) * 1000;
			}
			N--;
		}
		
		return Debt;
	}
} import java.util.*; util.* java class Main{
	public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		int N = scanner.nextInt();
		int Debt = 100000;
		Debt= ratecal(N,Debt);
		System.out.println(Debt);
	}

	public static int ratecal(int N, int Debt ){
		
		while(N > 0){
			Debt = (int)(Debt * 1.05);
			if(Debt % 1000 > 0 ){
				Debt = ((Debt/1000) + 1) * 1000;
			}
			else {
				Debt = (Debt/1000) * 1000;
			}
			N--;
		}
		
		return Debt;
	}
} Main public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		int N = scanner.nextInt();
		int Debt = 100000;
		Debt= ratecal(N,Debt);
		System.out.println(Debt);
	} main {
		Scanner scanner = new Scanner(System.in);
		int N = scanner.nextInt();
		int Debt = 100000;
		Debt= ratecal(N,Debt);
		System.out.println(Debt);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner int Debt = 100000; Debt 100000 Debt= ratecal(N,Debt) Debt ratecal(N,Debt) ratecal N Debt System.out.println(Debt) System.out.println System.out System System.out Debt String[] args args public static int ratecal(int N, int Debt ){
		
		while(N > 0){
			Debt = (int)(Debt * 1.05);
			if(Debt % 1000 > 0 ){
				Debt = ((Debt/1000) + 1) * 1000;
			}
			else {
				Debt = (Debt/1000) * 1000;
			}
			N--;
		}
		
		return Debt;
	} ratecal {
		
		while(N > 0){
			Debt = (int)(Debt * 1.05);
			if(Debt % 1000 > 0 ){
				Debt = ((Debt/1000) + 1) * 1000;
			}
			else {
				Debt = (Debt/1000) * 1000;
			}
			N--;
		}
		
		return Debt;
	} while(N > 0){
			Debt = (int)(Debt * 1.05);
			if(Debt % 1000 > 0 ){
				Debt = ((Debt/1000) + 1) * 1000;
			}
			else {
				Debt = (Debt/1000) * 1000;
			}
			N--;
		} N > 0 N 0 {
			Debt = (int)(Debt * 1.05);
			if(Debt % 1000 > 0 ){
				Debt = ((Debt/1000) + 1) * 1000;
			}
			else {
				Debt = (Debt/1000) * 1000;
			}
			N--;
		} Debt = (int)(Debt * 1.05) Debt (int)(Debt * 1.05) Debt 1.05 if(Debt % 1000 > 0 ){
				Debt = ((Debt/1000) + 1) * 1000;
			}
			else {
				Debt = (Debt/1000) * 1000;
			} Debt % 1000 > 0 Debt % 1000 Debt 1000 0 {
				Debt = ((Debt/1000) + 1) * 1000;
			} Debt = ((Debt/1000) + 1) * 1000 Debt ((Debt/1000) + 1) * 1000 ((Debt/1000) + 1) (Debt/1000) Debt 1000 1 1000 {
				Debt = (Debt/1000) * 1000;
			} Debt = (Debt/1000) * 1000 Debt (Debt/1000) * 1000 (Debt/1000) Debt 1000 1000 N-- N return Debt; Debt int N N int Debt Debt
import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		int N = scanner.nextInt();
		int Debt = 100000;
		Debt= ratecal(N,Debt);
		System.out.println(Debt);
	}

	public static int ratecal(int N, int Debt ){
		
		while(N > 0){
			Debt = (int)(Debt * 1.05);
			if(Debt % 1000 > 0 ){
				Debt = ((Debt/1000) + 1) * 1000;
			}
			else {
				Debt = (Debt/1000) * 1000;
			}
			N--;
		}
		
		return Debt;
	}
}