
import java.util.*;
import static java.lang.Math.*;
import static java.util.Arrays.*;

public class Main {

	int INF = 1 << 28;

	void run() {
		Scanner sc = new Scanner(System.in);
		int n= sc.nextInt();
		int p = 100000;
		for(int i=0;i<n;i++) {
			p = (int)(p * 1.05);
//			System.out.println(p);
			if(p%1000 > 0) p -= p%1000 - 1000;
//			System.out.println(p);
		}
		System.out.println(p);
	}

	public static void main(String[] args) {
		new Main().run();
	}

	void debug(Object... os) {
		System.err.println(Arrays.deepToString(os));
	}
} import java.util.*; util.* java import static java.lang.Math.*; import static java.lang.Math.*; import static java.lang.Math.*; import static java.util.Arrays.*; import static java.util.Arrays.*; import static java.util.Arrays.*; public class Main {

	int INF = 1 << 28;

	void run() {
		Scanner sc = new Scanner(System.in);
		int n= sc.nextInt();
		int p = 100000;
		for(int i=0;i<n;i++) {
			p = (int)(p * 1.05);
//			System.out.println(p);
			if(p%1000 > 0) p -= p%1000 - 1000;
//			System.out.println(p);
		}
		System.out.println(p);
	}

	public static void main(String[] args) {
		new Main().run();
	}

	void debug(Object... os) {
		System.err.println(Arrays.deepToString(os));
	}
} Main int INF = 1 << 28; INF 1 << 28 1 28 void run() {
		Scanner sc = new Scanner(System.in);
		int n= sc.nextInt();
		int p = 100000;
		for(int i=0;i<n;i++) {
			p = (int)(p * 1.05);
//			System.out.println(p);
			if(p%1000 > 0) p -= p%1000 - 1000;
//			System.out.println(p);
		}
		System.out.println(p);
	} run {
		Scanner sc = new Scanner(System.in);
		int n= sc.nextInt();
		int p = 100000;
		for(int i=0;i<n;i++) {
			p = (int)(p * 1.05);
//			System.out.println(p);
			if(p%1000 > 0) p -= p%1000 - 1000;
//			System.out.println(p);
		}
		System.out.println(p);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n= sc.nextInt(); n sc.nextInt() sc.nextInt sc int p = 100000; p 100000 for(int i=0;i<n;i++) {
			p = (int)(p * 1.05);
//			System.out.println(p);
			if(p%1000 > 0) p -= p%1000 - 1000;
//			System.out.println(p);
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			p = (int)(p * 1.05);
//			System.out.println(p);
			if(p%1000 > 0) p -= p%1000 - 1000;
//			System.out.println(p);
		} {
			p = (int)(p * 1.05);
//			System.out.println(p);
			if(p%1000 > 0) p -= p%1000 - 1000;
//			System.out.println(p);
		} p = (int)(p * 1.05) p (int)(p * 1.05) p 1.05 if(p%1000 > 0) p -= p%1000 - 1000; p%1000 > 0 p%1000 p 1000 0 p -= p%1000 - 1000 p p%1000 - 1000 p%1000 p 1000 1000 System.out.println(p) System.out.println System.out System System.out p public static void main(String[] args) {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args void debug(Object... os) {
		System.err.println(Arrays.deepToString(os));
	} debug {
		System.err.println(Arrays.deepToString(os));
	} System.err.println(Arrays.deepToString(os)) System.err.println System.err System System.err Arrays.deepToString(os) Arrays.deepToString Arrays os Object... os os public class Main {

	int INF = 1 << 28;

	void run() {
		Scanner sc = new Scanner(System.in);
		int n= sc.nextInt();
		int p = 100000;
		for(int i=0;i<n;i++) {
			p = (int)(p * 1.05);
//			System.out.println(p);
			if(p%1000 > 0) p -= p%1000 - 1000;
//			System.out.println(p);
		}
		System.out.println(p);
	}

	public static void main(String[] args) {
		new Main().run();
	}

	void debug(Object... os) {
		System.err.println(Arrays.deepToString(os));
	}
} public class Main {

	int INF = 1 << 28;

	void run() {
		Scanner sc = new Scanner(System.in);
		int n= sc.nextInt();
		int p = 100000;
		for(int i=0;i<n;i++) {
			p = (int)(p * 1.05);
//			System.out.println(p);
			if(p%1000 > 0) p -= p%1000 - 1000;
//			System.out.println(p);
		}
		System.out.println(p);
	}

	public static void main(String[] args) {
		new Main().run();
	}

	void debug(Object... os) {
		System.err.println(Arrays.deepToString(os));
	}
} Main

import java.util.*;
import static java.lang.Math.*;
import static java.util.Arrays.*;

public class Main {

	int INF = 1 << 28;

	void run() {
		Scanner sc = new Scanner(System.in);
		int n= sc.nextInt();
		int p = 100000;
		for(int i=0;i<n;i++) {
			p = (int)(p * 1.05);
//			System.out.println(p);
			if(p%1000 > 0) p -= p%1000 - 1000;
//			System.out.println(p);
		}
		System.out.println(p);
	}

	public static void main(String[] args) {
		new Main().run();
	}

	void debug(Object... os) {
		System.err.println(Arrays.deepToString(os));
	}
}