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

public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		int init = 100000;
		for(int i = 0; i < n;i++){
			init = (int) ((int) init * 1.05);
			if(init%1000 != 0){
				init = ((init / 1000)+1) *1000;
			}
		}
		System.out.println(init);
		
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		int init = 100000;
		for(int i = 0; i < n;i++){
			init = (int) ((int) init * 1.05);
			if(init%1000 != 0){
				init = ((init / 1000)+1) *1000;
			}
		}
		System.out.println(init);
		
	}

} Main public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		int init = 100000;
		for(int i = 0; i < n;i++){
			init = (int) ((int) init * 1.05);
			if(init%1000 != 0){
				init = ((init / 1000)+1) *1000;
			}
		}
		System.out.println(init);
		
	} main {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		int init = 100000;
		for(int i = 0; i < n;i++){
			init = (int) ((int) init * 1.05);
			if(init%1000 != 0){
				init = ((init / 1000)+1) *1000;
			}
		}
		System.out.println(init);
		
	} 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 int init = 100000; init 100000 for(int i = 0; i < n;i++){
			init = (int) ((int) init * 1.05);
			if(init%1000 != 0){
				init = ((init / 1000)+1) *1000;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			init = (int) ((int) init * 1.05);
			if(init%1000 != 0){
				init = ((init / 1000)+1) *1000;
			}
		} {
			init = (int) ((int) init * 1.05);
			if(init%1000 != 0){
				init = ((init / 1000)+1) *1000;
			}
		} init = (int) ((int) init * 1.05) init (int) ((int) init * 1.05) (int) init 1.05 if(init%1000 != 0){
				init = ((init / 1000)+1) *1000;
			} init%1000 != 0 init%1000 init 1000 0 {
				init = ((init / 1000)+1) *1000;
			} init = ((init / 1000)+1) *1000 init ((init / 1000)+1) *1000 ((init / 1000)+1) (init / 1000) init 1000 1 1000 System.out.println(init) System.out.println System.out System System.out init String[] args args public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		int init = 100000;
		for(int i = 0; i < n;i++){
			init = (int) ((int) init * 1.05);
			if(init%1000 != 0){
				init = ((init / 1000)+1) *1000;
			}
		}
		System.out.println(init);
		
	}

} public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		int init = 100000;
		for(int i = 0; i < n;i++){
			init = (int) ((int) init * 1.05);
			if(init%1000 != 0){
				init = ((init / 1000)+1) *1000;
			}
		}
		System.out.println(init);
		
	}

} Main

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

public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		int init = 100000;
		for(int i = 0; i < n;i++){
			init = (int) ((int) init * 1.05);
			if(init%1000 != 0){
				init = ((init / 1000)+1) *1000;
			}
		}
		System.out.println(init);
		
	}

}