import java.util.*;
import java.math.*;
public class Main {
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		double money = 100.00;
		for(int i=0; i<n; i++){
			money = money*1.05;
			BigDecimal tmp = new BigDecimal(money);
			money = tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue();
		}
		System.out.println((int)money*1000);
	}
} import java.util.*; util.* java import java.math.*; math.* java public class Main {
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		double money = 100.00;
		for(int i=0; i<n; i++){
			money = money*1.05;
			BigDecimal tmp = new BigDecimal(money);
			money = tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue();
		}
		System.out.println((int)money*1000);
	}
} Main public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		double money = 100.00;
		for(int i=0; i<n; i++){
			money = money*1.05;
			BigDecimal tmp = new BigDecimal(money);
			money = tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue();
		}
		System.out.println((int)money*1000);
	} main {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		double money = 100.00;
		for(int i=0; i<n; i++){
			money = money*1.05;
			BigDecimal tmp = new BigDecimal(money);
			money = tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue();
		}
		System.out.println((int)money*1000);
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int n = in.nextInt(); n in.nextInt() in.nextInt in double money = 100.00; money 100.00 for(int i=0; i<n; i++){
			money = money*1.05;
			BigDecimal tmp = new BigDecimal(money);
			money = tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue();
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			money = money*1.05;
			BigDecimal tmp = new BigDecimal(money);
			money = tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue();
		} {
			money = money*1.05;
			BigDecimal tmp = new BigDecimal(money);
			money = tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue();
		} money = money*1.05 money money*1.05 money 1.05 BigDecimal tmp = new BigDecimal(money); tmp new BigDecimal(money) money = tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue() money tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue() tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue tmp.setScale(0,BigDecimal.ROUND_UP) tmp.setScale tmp 0 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP System.out.println((int)money*1000) System.out.println System.out System System.out (int)money*1000 (int)money 1000 String[] args args public class Main {
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		double money = 100.00;
		for(int i=0; i<n; i++){
			money = money*1.05;
			BigDecimal tmp = new BigDecimal(money);
			money = tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue();
		}
		System.out.println((int)money*1000);
	}
} public class Main {
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		double money = 100.00;
		for(int i=0; i<n; i++){
			money = money*1.05;
			BigDecimal tmp = new BigDecimal(money);
			money = tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue();
		}
		System.out.println((int)money*1000);
	}
} Main
import java.util.*;
import java.math.*;
public class Main {
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		double money = 100.00;
		for(int i=0; i<n; i++){
			money = money*1.05;
			BigDecimal tmp = new BigDecimal(money);
			money = tmp.setScale(0,BigDecimal.ROUND_UP).doubleValue();
		}
		System.out.println((int)money*1000);
	}
}