import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
	public static void main(String[] args)throws IOException {
		//経過週数
		int n = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 64).readLine()); 
		//計算結果
		int result = 100000;
		
		//n週間後の借金を計算
		//0週間なら計算せず表示
		if (n != 0) {
			for(int i = 0; i < n;i++){
				result =(int)(result + (result * 0.05));
				if((result % 1000) != 0 ){
					result = ((int)(result / 1000) + 1) * 1000;
				}
			}
		}
		System.out.println(result);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
	public static void main(String[] args)throws IOException {
		//経過週数
		int n = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 64).readLine()); 
		//計算結果
		int result = 100000;
		
		//n週間後の借金を計算
		//0週間なら計算せず表示
		if (n != 0) {
			for(int i = 0; i < n;i++){
				result =(int)(result + (result * 0.05));
				if((result % 1000) != 0 ){
					result = ((int)(result / 1000) + 1) * 1000;
				}
			}
		}
		System.out.println(result);
	}
} Main public static void main(String[] args)throws IOException {
		//経過週数
		int n = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 64).readLine()); 
		//計算結果
		int result = 100000;
		
		//n週間後の借金を計算
		//0週間なら計算せず表示
		if (n != 0) {
			for(int i = 0; i < n;i++){
				result =(int)(result + (result * 0.05));
				if((result % 1000) != 0 ){
					result = ((int)(result / 1000) + 1) * 1000;
				}
			}
		}
		System.out.println(result);
	} main {
		//経過週数
		int n = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 64).readLine()); 
		//計算結果
		int result = 100000;
		
		//n週間後の借金を計算
		//0週間なら計算せず表示
		if (n != 0) {
			for(int i = 0; i < n;i++){
				result =(int)(result + (result * 0.05));
				if((result % 1000) != 0 ){
					result = ((int)(result / 1000) + 1) * 1000;
				}
			}
		}
		System.out.println(result);
	} int n = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 64).readLine()); n Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 64).readLine()) Integer.parseInt Integer new BufferedReader(new InputStreamReader(System.in), 64).readLine() new BufferedReader(new InputStreamReader(System.in), 64).readLine new BufferedReader(new InputStreamReader(System.in), 64) int result = 100000; result 100000 if (n != 0) {
			for(int i = 0; i < n;i++){
				result =(int)(result + (result * 0.05));
				if((result % 1000) != 0 ){
					result = ((int)(result / 1000) + 1) * 1000;
				}
			}
		} n != 0 n 0 {
			for(int i = 0; i < n;i++){
				result =(int)(result + (result * 0.05));
				if((result % 1000) != 0 ){
					result = ((int)(result / 1000) + 1) * 1000;
				}
			}
		} for(int i = 0; i < n;i++){
				result =(int)(result + (result * 0.05));
				if((result % 1000) != 0 ){
					result = ((int)(result / 1000) + 1) * 1000;
				}
			} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
				result =(int)(result + (result * 0.05));
				if((result % 1000) != 0 ){
					result = ((int)(result / 1000) + 1) * 1000;
				}
			} {
				result =(int)(result + (result * 0.05));
				if((result % 1000) != 0 ){
					result = ((int)(result / 1000) + 1) * 1000;
				}
			} result =(int)(result + (result * 0.05)) result (int)(result + (result * 0.05)) result (result * 0.05) result 0.05 if((result % 1000) != 0 ){
					result = ((int)(result / 1000) + 1) * 1000;
				} (result % 1000) != 0 (result % 1000) result 1000 0 {
					result = ((int)(result / 1000) + 1) * 1000;
				} result = ((int)(result / 1000) + 1) * 1000 result ((int)(result / 1000) + 1) * 1000 ((int)(result / 1000) + 1) (int)(result / 1000) result 1000 1 1000 System.out.println(result) System.out.println System.out System System.out result String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
	public static void main(String[] args)throws IOException {
		//経過週数
		int n = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in), 64).readLine()); 
		//計算結果
		int result = 100000;
		
		//n週間後の借金を計算
		//0週間なら計算せず表示
		if (n != 0) {
			for(int i = 0; i < n;i++){
				result =(int)(result + (result * 0.05));
				if((result % 1000) != 0 ){
					result = ((int)(result / 1000) + 1) * 1000;
				}
			}
		}
		System.out.println(result);
	}
}