import java.util.*;
import java.math.*;
 class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		double sum = 100000;
		for(int i=0;i<n;i++){
			sum=sum+sum*0.05;
			BigDecimal bi = new BigDecimal(String.valueOf(sum));
			sum = bi.setScale(-3,BigDecimal.ROUND_UP).doubleValue();
		}
		System.out.printf("%.0f\n",sum);
	}
} import java.util.*; util.* java import java.math.*; math.* java class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		double sum = 100000;
		for(int i=0;i<n;i++){
			sum=sum+sum*0.05;
			BigDecimal bi = new BigDecimal(String.valueOf(sum));
			sum = bi.setScale(-3,BigDecimal.ROUND_UP).doubleValue();
		}
		System.out.printf("%.0f\n",sum);
	}
} Main public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		double sum = 100000;
		for(int i=0;i<n;i++){
			sum=sum+sum*0.05;
			BigDecimal bi = new BigDecimal(String.valueOf(sum));
			sum = bi.setScale(-3,BigDecimal.ROUND_UP).doubleValue();
		}
		System.out.printf("%.0f\n",sum);
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		double sum = 100000;
		for(int i=0;i<n;i++){
			sum=sum+sum*0.05;
			BigDecimal bi = new BigDecimal(String.valueOf(sum));
			sum = bi.setScale(-3,BigDecimal.ROUND_UP).doubleValue();
		}
		System.out.printf("%.0f\n",sum);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc double sum = 100000; sum 100000 for(int i=0;i<n;i++){
			sum=sum+sum*0.05;
			BigDecimal bi = new BigDecimal(String.valueOf(sum));
			sum = bi.setScale(-3,BigDecimal.ROUND_UP).doubleValue();
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			sum=sum+sum*0.05;
			BigDecimal bi = new BigDecimal(String.valueOf(sum));
			sum = bi.setScale(-3,BigDecimal.ROUND_UP).doubleValue();
		} {
			sum=sum+sum*0.05;
			BigDecimal bi = new BigDecimal(String.valueOf(sum));
			sum = bi.setScale(-3,BigDecimal.ROUND_UP).doubleValue();
		} sum=sum+sum*0.05 sum sum+sum*0.05 sum sum*0.05 sum 0.05 BigDecimal bi = new BigDecimal(String.valueOf(sum)); bi new BigDecimal(String.valueOf(sum)) sum = bi.setScale(-3,BigDecimal.ROUND_UP).doubleValue() sum bi.setScale(-3,BigDecimal.ROUND_UP).doubleValue() bi.setScale(-3,BigDecimal.ROUND_UP).doubleValue bi.setScale(-3,BigDecimal.ROUND_UP) bi.setScale bi -3 3 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP System.out.printf("%.0f\n",sum) System.out.printf System.out System System.out "%.0f\n" sum String[] args args
import java.util.*;
import java.math.*;
 class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		double sum = 100000;
		for(int i=0;i<n;i++){
			sum=sum+sum*0.05;
			BigDecimal bi = new BigDecimal(String.valueOf(sum));
			sum = bi.setScale(-3,BigDecimal.ROUND_UP).doubleValue();
		}
		System.out.printf("%.0f\n",sum);
	}
}