import java.util.Scanner;

public class Main {

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

	}

} import java.util.Scanner; Scanner java.util public class Main {

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

	}

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

	} main {
		Scanner scan = new Scanner(System.in);
		int week = scan.nextInt();
		double debt = 100000;
		
		for(int i = 0; i < week; i++){
			debt = debt * 1.05 / 1000;
			debt = Math.ceil(debt);
			debt = debt * 1000;
		}
		
		int ans = (int)debt;
		System.out.println(ans);

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int week = scan.nextInt(); week scan.nextInt() scan.nextInt scan double debt = 100000; debt 100000 for(int i = 0; i < week; i++){
			debt = debt * 1.05 / 1000;
			debt = Math.ceil(debt);
			debt = debt * 1000;
		} int i = 0; int i = 0; i 0 i < week i week i++ i++ i {
			debt = debt * 1.05 / 1000;
			debt = Math.ceil(debt);
			debt = debt * 1000;
		} {
			debt = debt * 1.05 / 1000;
			debt = Math.ceil(debt);
			debt = debt * 1000;
		} debt = debt * 1.05 / 1000 debt debt * 1.05 / 1000 debt * 1.05 debt 1.05 1000 debt = Math.ceil(debt) debt Math.ceil(debt) Math.ceil Math debt debt = debt * 1000 debt debt * 1000 debt 1000 int ans = (int)debt; ans (int)debt System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

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

	}

} public class Main {

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

	}

} Main
import java.util.Scanner;

public class Main {

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

	}

}