import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int debt=100000;
		int n=sc.nextInt();
		for(int i=0;i<n;i++){
			debt=(int)Math.ceil((debt*1.05)/1000)*1000;
		}
		System.out.println(debt);
		sc.close();
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int debt=100000;
		int n=sc.nextInt();
		for(int i=0;i<n;i++){
			debt=(int)Math.ceil((debt*1.05)/1000)*1000;
		}
		System.out.println(debt);
		sc.close();
	}
} Main public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int debt=100000;
		int n=sc.nextInt();
		for(int i=0;i<n;i++){
			debt=(int)Math.ceil((debt*1.05)/1000)*1000;
		}
		System.out.println(debt);
		sc.close();
	} main {
		Scanner sc=new Scanner(System.in);
		int debt=100000;
		int n=sc.nextInt();
		for(int i=0;i<n;i++){
			debt=(int)Math.ceil((debt*1.05)/1000)*1000;
		}
		System.out.println(debt);
		sc.close();
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int debt=100000; debt 100000 int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc for(int i=0;i<n;i++){
			debt=(int)Math.ceil((debt*1.05)/1000)*1000;
		} int i=0; int i=0; i 0 i<n i n 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 sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int debt=100000;
		int n=sc.nextInt();
		for(int i=0;i<n;i++){
			debt=(int)Math.ceil((debt*1.05)/1000)*1000;
		}
		System.out.println(debt);
		sc.close();
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int debt=100000;
		int n=sc.nextInt();
		for(int i=0;i<n;i++){
			debt=(int)Math.ceil((debt*1.05)/1000)*1000;
		}
		System.out.println(debt);
		sc.close();
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int debt=100000;
		int n=sc.nextInt();
		for(int i=0;i<n;i++){
			debt=(int)Math.ceil((debt*1.05)/1000)*1000;
		}
		System.out.println(debt);
		sc.close();
	}
}