import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner s=new Scanner(System.in);
		int n=s.nextInt();
		double ans=100000;
		for(int i=0;i<n;i++){
			ans=ans*1.05;
			if(ans%1000!=0){
				ans=ans+1000-ans%1000;
			}
		}
		int a=(int)ans;
		System.out.println(a);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner s=new Scanner(System.in);
		int n=s.nextInt();
		double ans=100000;
		for(int i=0;i<n;i++){
			ans=ans*1.05;
			if(ans%1000!=0){
				ans=ans+1000-ans%1000;
			}
		}
		int a=(int)ans;
		System.out.println(a);
	}
} Main public static void main(String[] args) {
		Scanner s=new Scanner(System.in);
		int n=s.nextInt();
		double ans=100000;
		for(int i=0;i<n;i++){
			ans=ans*1.05;
			if(ans%1000!=0){
				ans=ans+1000-ans%1000;
			}
		}
		int a=(int)ans;
		System.out.println(a);
	} main {
		Scanner s=new Scanner(System.in);
		int n=s.nextInt();
		double ans=100000;
		for(int i=0;i<n;i++){
			ans=ans*1.05;
			if(ans%1000!=0){
				ans=ans+1000-ans%1000;
			}
		}
		int a=(int)ans;
		System.out.println(a);
	} Scanner s=new Scanner(System.in); s new Scanner(System.in) int n=s.nextInt(); n s.nextInt() s.nextInt s double ans=100000; ans 100000 for(int i=0;i<n;i++){
			ans=ans*1.05;
			if(ans%1000!=0){
				ans=ans+1000-ans%1000;
			}
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			ans=ans*1.05;
			if(ans%1000!=0){
				ans=ans+1000-ans%1000;
			}
		} {
			ans=ans*1.05;
			if(ans%1000!=0){
				ans=ans+1000-ans%1000;
			}
		} ans=ans*1.05 ans ans*1.05 ans 1.05 if(ans%1000!=0){
				ans=ans+1000-ans%1000;
			} ans%1000!=0 ans%1000 ans 1000 0 {
				ans=ans+1000-ans%1000;
			} ans=ans+1000-ans%1000 ans ans+1000-ans%1000 ans+1000 ans 1000 ans%1000 ans 1000 int a=(int)ans; a (int)ans System.out.println(a) System.out.println System.out System System.out a String[] args args public class Main {
	public static void main(String[] args) {
		Scanner s=new Scanner(System.in);
		int n=s.nextInt();
		double ans=100000;
		for(int i=0;i<n;i++){
			ans=ans*1.05;
			if(ans%1000!=0){
				ans=ans+1000-ans%1000;
			}
		}
		int a=(int)ans;
		System.out.println(a);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner s=new Scanner(System.in);
		int n=s.nextInt();
		double ans=100000;
		for(int i=0;i<n;i++){
			ans=ans*1.05;
			if(ans%1000!=0){
				ans=ans+1000-ans%1000;
			}
		}
		int a=(int)ans;
		System.out.println(a);
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner s=new Scanner(System.in);
		int n=s.nextInt();
		double ans=100000;
		for(int i=0;i<n;i++){
			ans=ans*1.05;
			if(ans%1000!=0){
				ans=ans+1000-ans%1000;
			}
		}
		int a=(int)ans;
		System.out.println(a);
	}
}