import java.io.*;
public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int data = Integer.parseInt(br.readLine());
		
		int debt = 100000;
		for(int i=0;i<data;i++) {
			debt = (int)Math.ceil(debt*1.05/1000)*1000;
		}
		
		System.out.println(debt); 
	}
} import java.io.*; io.* java public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int data = Integer.parseInt(br.readLine());
		
		int debt = 100000;
		for(int i=0;i<data;i++) {
			debt = (int)Math.ceil(debt*1.05/1000)*1000;
		}
		
		System.out.println(debt); 
	}
} Main public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int data = Integer.parseInt(br.readLine());
		
		int debt = 100000;
		for(int i=0;i<data;i++) {
			debt = (int)Math.ceil(debt*1.05/1000)*1000;
		}
		
		System.out.println(debt); 
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int data = Integer.parseInt(br.readLine());
		
		int debt = 100000;
		for(int i=0;i<data;i++) {
			debt = (int)Math.ceil(debt*1.05/1000)*1000;
		}
		
		System.out.println(debt); 
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int data = Integer.parseInt(br.readLine()); data Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int debt = 100000; debt 100000 for(int i=0;i<data;i++) {
			debt = (int)Math.ceil(debt*1.05/1000)*1000;
		} int i=0; int i=0; i 0 i<data i data i++ i++ i {
			debt = (int)Math.ceil(debt*1.05/1000)*1000;
		} {
			debt = (int)Math.ceil(debt*1.05/1000)*1000;
		} debt = (int)Math.ceil(debt*1.05/1000)*1000 debt (int)Math.ceil(debt*1.05/1000)*1000 (int)Math.ceil(debt*1.05/1000) Math.ceil Math debt*1.05/1000 debt*1.05 debt 1.05 1000 1000 System.out.println(debt) System.out.println System.out System System.out debt String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int data = Integer.parseInt(br.readLine());
		
		int debt = 100000;
		for(int i=0;i<data;i++) {
			debt = (int)Math.ceil(debt*1.05/1000)*1000;
		}
		
		System.out.println(debt); 
	}
} public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int data = Integer.parseInt(br.readLine());
		
		int debt = 100000;
		for(int i=0;i<data;i++) {
			debt = (int)Math.ceil(debt*1.05/1000)*1000;
		}
		
		System.out.println(debt); 
	}
} Main
import java.io.*;
public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		int data = Integer.parseInt(br.readLine());
		
		int debt = 100000;
		for(int i=0;i<data;i++) {
			debt = (int)Math.ceil(debt*1.05/1000)*1000;
		}
		
		System.out.println(debt); 
	}
}