import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		double debt = 100000;
		int N = in.nextInt();
		for(int i=0;i<N;i++){
			debt = Math.ceil(debt*1.05/1000)*1000;
		}
		System.out.printf("%.0f\n",debt);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		double debt = 100000;
		int N = in.nextInt();
		for(int i=0;i<N;i++){
			debt = Math.ceil(debt*1.05/1000)*1000;
		}
		System.out.printf("%.0f\n",debt);
	}
} Main public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		double debt = 100000;
		int N = in.nextInt();
		for(int i=0;i<N;i++){
			debt = Math.ceil(debt*1.05/1000)*1000;
		}
		System.out.printf("%.0f\n",debt);
	} main {
		Scanner in = new Scanner(System.in);
		double debt = 100000;
		int N = in.nextInt();
		for(int i=0;i<N;i++){
			debt = Math.ceil(debt*1.05/1000)*1000;
		}
		System.out.printf("%.0f\n",debt);
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) double debt = 100000; debt 100000 int N = in.nextInt(); N in.nextInt() in.nextInt in for(int i=0;i<N;i++){
			debt = Math.ceil(debt*1.05/1000)*1000;
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			debt = Math.ceil(debt*1.05/1000)*1000;
		} {
			debt = Math.ceil(debt*1.05/1000)*1000;
		} debt = Math.ceil(debt*1.05/1000)*1000 debt Math.ceil(debt*1.05/1000)*1000 Math.ceil(debt*1.05/1000) Math.ceil Math debt*1.05/1000 debt*1.05 debt 1.05 1000 1000 System.out.printf("%.0f\n",debt) System.out.printf System.out System System.out "%.0f\n" debt String[] args args public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		double debt = 100000;
		int N = in.nextInt();
		for(int i=0;i<N;i++){
			debt = Math.ceil(debt*1.05/1000)*1000;
		}
		System.out.printf("%.0f\n",debt);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		double debt = 100000;
		int N = in.nextInt();
		for(int i=0;i<N;i++){
			debt = Math.ceil(debt*1.05/1000)*1000;
		}
		System.out.printf("%.0f\n",debt);
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		double debt = 100000;
		int N = in.nextInt();
		for(int i=0;i<N;i++){
			debt = Math.ceil(debt*1.05/1000)*1000;
		}
		System.out.printf("%.0f\n",debt);
	}
}