import java.util.Scanner;
public class Main {

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

		System.out.printf("%.0f",debt);
System.out.println();
		sc.close();
	}

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

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

		System.out.printf("%.0f",debt);
System.out.println();
		sc.close();
	}

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

		System.out.printf("%.0f",debt);
System.out.println();
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		int week = sc.nextInt();
		double debt = 100000;
		for(int i = 0 ; i < week ; i++){
			debt = debt * 1.05;
			double a = debt/1000;
			a = Math.ceil(a);
			debt = a * 1000;
		}

		System.out.printf("%.0f",debt);
System.out.println();
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int week = sc.nextInt(); week sc.nextInt() sc.nextInt sc double debt = 100000; debt 100000 for(int i = 0 ; i < week ; i++){
			debt = debt * 1.05;
			double a = debt/1000;
			a = Math.ceil(a);
			debt = a * 1000;
		} int i = 0 ; int i = 0 ; i 0 i < week i week i++ i++ i {
			debt = debt * 1.05;
			double a = debt/1000;
			a = Math.ceil(a);
			debt = a * 1000;
		} {
			debt = debt * 1.05;
			double a = debt/1000;
			a = Math.ceil(a);
			debt = a * 1000;
		} debt = debt * 1.05 debt debt * 1.05 debt 1.05 double a = debt/1000; a debt/1000 debt 1000 a = Math.ceil(a) a Math.ceil(a) Math.ceil Math a debt = a * 1000 debt a * 1000 a 1000 System.out.printf("%.0f",debt) System.out.printf System.out System System.out "%.0f" debt System.out.println() System.out.println System.out System System.out sc.close() sc.close sc String[] args args public class Main {

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

		System.out.printf("%.0f",debt);
System.out.println();
		sc.close();
	}

} public class Main {

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

		System.out.printf("%.0f",debt);
System.out.println();
		sc.close();
	}

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

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

		System.out.printf("%.0f",debt);
System.out.println();
		sc.close();
	}

}