import java.io.*;

public class Main {
	public static void main(String[] args) throws IOException {
		String str = "";
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
		if((str=bf.readLine())==null)return;
		bf.close();
		int n=Integer.parseInt(str);
		int c=100000;
		for(int i=0;i<n;i++){
			c*=1.05;
			if(c%1000!=0)c+=1000;
			c=(c/1000)*1000;
		}
		System.out.println(c);
	}
} import java.io.*; io.* java public class Main {
	public static void main(String[] args) throws IOException {
		String str = "";
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
		if((str=bf.readLine())==null)return;
		bf.close();
		int n=Integer.parseInt(str);
		int c=100000;
		for(int i=0;i<n;i++){
			c*=1.05;
			if(c%1000!=0)c+=1000;
			c=(c/1000)*1000;
		}
		System.out.println(c);
	}
} Main public static void main(String[] args) throws IOException {
		String str = "";
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
		if((str=bf.readLine())==null)return;
		bf.close();
		int n=Integer.parseInt(str);
		int c=100000;
		for(int i=0;i<n;i++){
			c*=1.05;
			if(c%1000!=0)c+=1000;
			c=(c/1000)*1000;
		}
		System.out.println(c);
	} main {
		String str = "";
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
		if((str=bf.readLine())==null)return;
		bf.close();
		int n=Integer.parseInt(str);
		int c=100000;
		for(int i=0;i<n;i++){
			c*=1.05;
			if(c%1000!=0)c+=1000;
			c=(c/1000)*1000;
		}
		System.out.println(c);
	} String str = ""; str "" BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); bf new BufferedReader(new InputStreamReader(System.in)) if((str=bf.readLine())==null)return; (str=bf.readLine())==null (str=bf.readLine()) str bf.readLine() bf.readLine bf null return; bf.close() bf.close bf int n=Integer.parseInt(str); n Integer.parseInt(str) Integer.parseInt Integer str int c=100000; c 100000 for(int i=0;i<n;i++){
			c*=1.05;
			if(c%1000!=0)c+=1000;
			c=(c/1000)*1000;
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			c*=1.05;
			if(c%1000!=0)c+=1000;
			c=(c/1000)*1000;
		} {
			c*=1.05;
			if(c%1000!=0)c+=1000;
			c=(c/1000)*1000;
		} c*=1.05 c 1.05 if(c%1000!=0)c+=1000; c%1000!=0 c%1000 c 1000 0 c+=1000 c 1000 c=(c/1000)*1000 c (c/1000)*1000 (c/1000) c 1000 1000 System.out.println(c) System.out.println System.out System System.out c String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		String str = "";
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
		if((str=bf.readLine())==null)return;
		bf.close();
		int n=Integer.parseInt(str);
		int c=100000;
		for(int i=0;i<n;i++){
			c*=1.05;
			if(c%1000!=0)c+=1000;
			c=(c/1000)*1000;
		}
		System.out.println(c);
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		String str = "";
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
		if((str=bf.readLine())==null)return;
		bf.close();
		int n=Integer.parseInt(str);
		int c=100000;
		for(int i=0;i<n;i++){
			c*=1.05;
			if(c%1000!=0)c+=1000;
			c=(c/1000)*1000;
		}
		System.out.println(c);
	}
} Main
import java.io.*;

public class Main {
	public static void main(String[] args) throws IOException {
		String str = "";
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
		if((str=bf.readLine())==null)return;
		bf.close();
		int n=Integer.parseInt(str);
		int c=100000;
		for(int i=0;i<n;i++){
			c*=1.05;
			if(c%1000!=0)c+=1000;
			c=(c/1000)*1000;
		}
		System.out.println(c);
	}
}