import java.io.*;
public class Main {

	public static void main (String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		double interest = 1.05; 
		double debt = 100;
		
		for (int i = 0; i < n; i++) {
			debt = Math.ceil(debt * interest);
		}
		
		System.out.println((int)(debt * 1000));
	}
} 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 n = Integer.parseInt(br.readLine());
		double interest = 1.05; 
		double debt = 100;
		
		for (int i = 0; i < n; i++) {
			debt = Math.ceil(debt * interest);
		}
		
		System.out.println((int)(debt * 1000));
	}
} Main public static void main (String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		double interest = 1.05; 
		double debt = 100;
		
		for (int i = 0; i < n; i++) {
			debt = Math.ceil(debt * interest);
		}
		
		System.out.println((int)(debt * 1000));
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(br.readLine());
		double interest = 1.05; 
		double debt = 100;
		
		for (int i = 0; i < n; i++) {
			debt = Math.ceil(debt * interest);
		}
		
		System.out.println((int)(debt * 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 interest = 1.05; interest 1.05 double debt = 100; debt 100 for (int i = 0; i < n; i++) {
			debt = Math.ceil(debt * interest);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			debt = Math.ceil(debt * interest);
		} {
			debt = Math.ceil(debt * interest);
		} debt = Math.ceil(debt * interest) debt Math.ceil(debt * interest) Math.ceil Math debt * interest debt interest System.out.println((int)(debt * 1000)) System.out.println System.out System System.out (int)(debt * 1000) debt 1000 String[] args args public class Main {

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

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

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