import java.math.BigDecimal;
import java.util.Scanner;


public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double sum = 100000;

		double n = sc.nextDouble();

		System.out.println((int)solve(n, sum));
	}

	public static double solve(double a, double b){

		for(int i = 0; i < a; i++){
			b = b * 1.05;
			
			if((b % 1000) != 0){
				BigDecimal bd = new BigDecimal(b / 1000);
				b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000;
			}
		}
		return b;
	}
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double sum = 100000;

		double n = sc.nextDouble();

		System.out.println((int)solve(n, sum));
	}

	public static double solve(double a, double b){

		for(int i = 0; i < a; i++){
			b = b * 1.05;
			
			if((b % 1000) != 0){
				BigDecimal bd = new BigDecimal(b / 1000);
				b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000;
			}
		}
		return b;
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double sum = 100000;

		double n = sc.nextDouble();

		System.out.println((int)solve(n, sum));
	} main {
		Scanner sc = new Scanner(System.in);

		double sum = 100000;

		double n = sc.nextDouble();

		System.out.println((int)solve(n, sum));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double sum = 100000; sum 100000 double n = sc.nextDouble(); n sc.nextDouble() sc.nextDouble sc System.out.println((int)solve(n, sum)) System.out.println System.out System System.out (int)solve(n, sum) solve n sum String[] args args public static double solve(double a, double b){

		for(int i = 0; i < a; i++){
			b = b * 1.05;
			
			if((b % 1000) != 0){
				BigDecimal bd = new BigDecimal(b / 1000);
				b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000;
			}
		}
		return b;
	} solve {

		for(int i = 0; i < a; i++){
			b = b * 1.05;
			
			if((b % 1000) != 0){
				BigDecimal bd = new BigDecimal(b / 1000);
				b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000;
			}
		}
		return b;
	} for(int i = 0; i < a; i++){
			b = b * 1.05;
			
			if((b % 1000) != 0){
				BigDecimal bd = new BigDecimal(b / 1000);
				b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000;
			}
		} int i = 0; int i = 0; i 0 i < a i a i++ i++ i {
			b = b * 1.05;
			
			if((b % 1000) != 0){
				BigDecimal bd = new BigDecimal(b / 1000);
				b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000;
			}
		} {
			b = b * 1.05;
			
			if((b % 1000) != 0){
				BigDecimal bd = new BigDecimal(b / 1000);
				b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000;
			}
		} b = b * 1.05 b b * 1.05 b 1.05 if((b % 1000) != 0){
				BigDecimal bd = new BigDecimal(b / 1000);
				b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000;
			} (b % 1000) != 0 (b % 1000) b 1000 0 {
				BigDecimal bd = new BigDecimal(b / 1000);
				b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000;
			} BigDecimal bd = new BigDecimal(b / 1000); bd new BigDecimal(b / 1000) b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000 b (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000 (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) bd.setScale(0, BigDecimal.ROUND_UP).doubleValue bd.setScale(0, BigDecimal.ROUND_UP) bd.setScale bd 0 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP 1000 return b; b double a a double b b public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double sum = 100000;

		double n = sc.nextDouble();

		System.out.println((int)solve(n, sum));
	}

	public static double solve(double a, double b){

		for(int i = 0; i < a; i++){
			b = b * 1.05;
			
			if((b % 1000) != 0){
				BigDecimal bd = new BigDecimal(b / 1000);
				b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000;
			}
		}
		return b;
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double sum = 100000;

		double n = sc.nextDouble();

		System.out.println((int)solve(n, sum));
	}

	public static double solve(double a, double b){

		for(int i = 0; i < a; i++){
			b = b * 1.05;
			
			if((b % 1000) != 0){
				BigDecimal bd = new BigDecimal(b / 1000);
				b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000;
			}
		}
		return b;
	}
} Main
import java.math.BigDecimal;
import java.util.Scanner;


public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double sum = 100000;

		double n = sc.nextDouble();

		System.out.println((int)solve(n, sum));
	}

	public static double solve(double a, double b){

		for(int i = 0; i < a; i++){
			b = b * 1.05;
			
			if((b % 1000) != 0){
				BigDecimal bd = new BigDecimal(b / 1000);
				b = (bd.setScale(0, BigDecimal.ROUND_UP).doubleValue()) * 1000;
			}
		}
		return b;
	}
}