

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		double det = 100;
		int i;
		double sum = det;
		for(i = 0; i < n; i++) {
			sum = Math.ceil(sum * 1.05);
		}
		System.out.println((int)sum * 1000);

		scanner.close();
	}

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

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		double det = 100;
		int i;
		double sum = det;
		for(i = 0; i < n; i++) {
			sum = Math.ceil(sum * 1.05);
		}
		System.out.println((int)sum * 1000);

		scanner.close();
	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		double det = 100;
		int i;
		double sum = det;
		for(i = 0; i < n; i++) {
			sum = Math.ceil(sum * 1.05);
		}
		System.out.println((int)sum * 1000);

		scanner.close();
	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		double det = 100;
		int i;
		double sum = det;
		for(i = 0; i < n; i++) {
			sum = Math.ceil(sum * 1.05);
		}
		System.out.println((int)sum * 1000);

		scanner.close();
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner double det = 100; det 100 int i; i double sum = det; sum det for(i = 0; i < n; i++) {
			sum = Math.ceil(sum * 1.05);
		} i = 0; i = 0 i 0 i < n i n i++ i++ i {
			sum = Math.ceil(sum * 1.05);
		} {
			sum = Math.ceil(sum * 1.05);
		} sum = Math.ceil(sum * 1.05) sum Math.ceil(sum * 1.05) Math.ceil Math sum * 1.05 sum 1.05 System.out.println((int)sum * 1000) System.out.println System.out System System.out (int)sum * 1000 (int)sum 1000 scanner.close() scanner.close scanner String[] args args public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		double det = 100;
		int i;
		double sum = det;
		for(i = 0; i < n; i++) {
			sum = Math.ceil(sum * 1.05);
		}
		System.out.println((int)sum * 1000);

		scanner.close();
	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		double det = 100;
		int i;
		double sum = det;
		for(i = 0; i < n; i++) {
			sum = Math.ceil(sum * 1.05);
		}
		System.out.println((int)sum * 1000);

		scanner.close();
	}

} Main


import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		double det = 100;
		int i;
		double sum = det;
		for(i = 0; i < n; i++) {
			sum = Math.ceil(sum * 1.05);
		}
		System.out.println((int)sum * 1000);

		scanner.close();
	}

}

