import java.util.*;

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

public class Main {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=100000;
		for(int i=0;i<n;i++){
			x=(int) (1.05*x);
			if(x%1000!=0){
				x=((x/1000)+1)*1000;
			}
		}
		System.out.println(x);
	}
}