import java.util.Scanner;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double n = sc.nextInt();
		double x = 100;
		for(int i = 0; i < n; i++){
			x = Math.ceil(x + (x * 0.05));
		}
		System.out.println((int)x * 1000);
	}
} import java.util.Scanner; Scanner java.util class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double n = sc.nextInt();
		double x = 100;
		for(int i = 0; i < n; i++){
			x = Math.ceil(x + (x * 0.05));
		}
		System.out.println((int)x * 1000);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double n = sc.nextInt();
		double x = 100;
		for(int i = 0; i < n; i++){
			x = Math.ceil(x + (x * 0.05));
		}
		System.out.println((int)x * 1000);
	} main {
		Scanner sc = new Scanner(System.in);
		double n = sc.nextInt();
		double x = 100;
		for(int i = 0; i < n; i++){
			x = Math.ceil(x + (x * 0.05));
		}
		System.out.println((int)x * 1000);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double n = sc.nextInt(); n sc.nextInt() sc.nextInt sc double x = 100; x 100 for(int i = 0; i < n; i++){
			x = Math.ceil(x + (x * 0.05));
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			x = Math.ceil(x + (x * 0.05));
		} {
			x = Math.ceil(x + (x * 0.05));
		} x = Math.ceil(x + (x * 0.05)) x Math.ceil(x + (x * 0.05)) Math.ceil Math x + (x * 0.05) x (x * 0.05) x 0.05 System.out.println((int)x * 1000) System.out.println System.out System System.out (int)x * 1000 (int)x 1000 String[] args args
import java.util.Scanner;

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