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

public class Main {
	
//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0007&lang=jp
	public static void main(String args[]) throws NumberFormatException, IOException {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			int n  = Integer.parseInt(br.readLine());	
			double result = 100;
			
			for(int i = 0; i < n; i++){
				result = Math.ceil(result*1.05);
			}

			System.out.println((int)result * 1000);
	}
	
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util public class Main {
	
//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0007&lang=jp
	public static void main(String args[]) throws NumberFormatException, IOException {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			int n  = Integer.parseInt(br.readLine());	
			double result = 100;
			
			for(int i = 0; i < n; i++){
				result = Math.ceil(result*1.05);
			}

			System.out.println((int)result * 1000);
	}
	
} Main //http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0007&lang=jp
	public static void main(String args[]) throws NumberFormatException, IOException {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			int n  = Integer.parseInt(br.readLine());	
			double result = 100;
			
			for(int i = 0; i < n; i++){
				result = Math.ceil(result*1.05);
			}

			System.out.println((int)result * 1000);
	} main {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			int n  = Integer.parseInt(br.readLine());	
			double result = 100;
			
			for(int i = 0; i < n; i++){
				result = Math.ceil(result*1.05);
			}

			System.out.println((int)result * 1000);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n  = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br double result = 100; result 100 for(int i = 0; i < n; i++){
				result = Math.ceil(result*1.05);
			} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
				result = Math.ceil(result*1.05);
			} {
				result = Math.ceil(result*1.05);
			} result = Math.ceil(result*1.05) result Math.ceil(result*1.05) Math.ceil Math result*1.05 result 1.05 System.out.println((int)result * 1000) System.out.println System.out System System.out (int)result * 1000 (int)result 1000 String args[] args public class Main {
	
//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0007&lang=jp
	public static void main(String args[]) throws NumberFormatException, IOException {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			int n  = Integer.parseInt(br.readLine());	
			double result = 100;
			
			for(int i = 0; i < n; i++){
				result = Math.ceil(result*1.05);
			}

			System.out.println((int)result * 1000);
	}
	
} public class Main {
	
//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0007&lang=jp
	public static void main(String args[]) throws NumberFormatException, IOException {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			int n  = Integer.parseInt(br.readLine());	
			double result = 100;
			
			for(int i = 0; i < n; i++){
				result = Math.ceil(result*1.05);
			}

			System.out.println((int)result * 1000);
	}
	
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {
	
//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0007&lang=jp
	public static void main(String args[]) throws NumberFormatException, IOException {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			int n  = Integer.parseInt(br.readLine());	
			double result = 100;
			
			for(int i = 0; i < n; i++){
				result = Math.ceil(result*1.05);
			}

			System.out.println((int)result * 1000);
	}
	
}