import java.util.Scanner;

class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		int week = scan.nextInt();
		double num = 100000;
		double n=1000.0;
		int i;
		
		for(i=0;i<week;i++){
			num *= 1.05;
			num = Math.ceil(num / n) * n;
		}
		System.out.println((int)num);
		scan.close();
	}
} import java.util.Scanner; Scanner java.util class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		int week = scan.nextInt();
		double num = 100000;
		double n=1000.0;
		int i;
		
		for(i=0;i<week;i++){
			num *= 1.05;
			num = Math.ceil(num / n) * n;
		}
		System.out.println((int)num);
		scan.close();
	}
} Main public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		int week = scan.nextInt();
		double num = 100000;
		double n=1000.0;
		int i;
		
		for(i=0;i<week;i++){
			num *= 1.05;
			num = Math.ceil(num / n) * n;
		}
		System.out.println((int)num);
		scan.close();
	} main {
		Scanner scan = new Scanner(System.in);
		int week = scan.nextInt();
		double num = 100000;
		double n=1000.0;
		int i;
		
		for(i=0;i<week;i++){
			num *= 1.05;
			num = Math.ceil(num / n) * n;
		}
		System.out.println((int)num);
		scan.close();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int week = scan.nextInt(); week scan.nextInt() scan.nextInt scan double num = 100000; num 100000 double n=1000.0; n 1000.0 int i; i for(i=0;i<week;i++){
			num *= 1.05;
			num = Math.ceil(num / n) * n;
		} i=0; i=0 i 0 i<week i week i++ i++ i {
			num *= 1.05;
			num = Math.ceil(num / n) * n;
		} {
			num *= 1.05;
			num = Math.ceil(num / n) * n;
		} num *= 1.05 num 1.05 num = Math.ceil(num / n) * n num Math.ceil(num / n) * n Math.ceil(num / n) Math.ceil Math num / n num n n System.out.println((int)num) System.out.println System.out System System.out (int)num scan.close() scan.close scan String args[] args
import java.util.Scanner;

class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		int week = scan.nextInt();
		double num = 100000;
		double n=1000.0;
		int i;
		
		for(i=0;i<week;i++){
			num *= 1.05;
			num = Math.ceil(num / n) * n;
		}
		System.out.println((int)num);
		scan.close();
	}
}