import java.util.Scanner;
import java.math.*;
import java.text.*;
public class Main {

	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		int cur = 100;
		for(int i = 0; i < n; i++){
			cur = (int)Math.ceil(cur*1.05);
		}
		System.out.println(cur*1000);
	}

} import java.util.Scanner; Scanner java.util import java.math.*; math.* java import java.text.*; text.* java public class Main {

	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		int cur = 100;
		for(int i = 0; i < n; i++){
			cur = (int)Math.ceil(cur*1.05);
		}
		System.out.println(cur*1000);
	}

} Main public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		int cur = 100;
		for(int i = 0; i < n; i++){
			cur = (int)Math.ceil(cur*1.05);
		}
		System.out.println(cur*1000);
	} main {
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		int cur = 100;
		for(int i = 0; i < n; i++){
			cur = (int)Math.ceil(cur*1.05);
		}
		System.out.println(cur*1000);
	} Scanner input = new Scanner(System.in); input new Scanner(System.in) int n = input.nextInt(); n input.nextInt() input.nextInt input int cur = 100; cur 100 for(int i = 0; i < n; i++){
			cur = (int)Math.ceil(cur*1.05);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			cur = (int)Math.ceil(cur*1.05);
		} {
			cur = (int)Math.ceil(cur*1.05);
		} cur = (int)Math.ceil(cur*1.05) cur (int)Math.ceil(cur*1.05) Math.ceil Math cur*1.05 cur 1.05 System.out.println(cur*1000) System.out.println System.out System System.out cur*1000 cur 1000 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		int cur = 100;
		for(int i = 0; i < n; i++){
			cur = (int)Math.ceil(cur*1.05);
		}
		System.out.println(cur*1000);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		int cur = 100;
		for(int i = 0; i < n; i++){
			cur = (int)Math.ceil(cur*1.05);
		}
		System.out.println(cur*1000);
	}

} Main
import java.util.Scanner;
import java.math.*;
import java.text.*;
public class Main {

	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		int cur = 100;
		for(int i = 0; i < n; i++){
			cur = (int)Math.ceil(cur*1.05);
		}
		System.out.println(cur*1000);
	}

}