import java.util.Scanner;
public class Main {
	public static void main(String[] args) throws java.io.IOException {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		double k = 100000;
		int T = 0;
		for(int a = 0;a < n;a++){
			k = Math.ceil((k*1.05)/1000);
			k = k*1000;
			T = (int)k;
		}
		System.out.println(T);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) throws java.io.IOException {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		double k = 100000;
		int T = 0;
		for(int a = 0;a < n;a++){
			k = Math.ceil((k*1.05)/1000);
			k = k*1000;
			T = (int)k;
		}
		System.out.println(T);
	}
} Main public static void main(String[] args) throws java.io.IOException {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		double k = 100000;
		int T = 0;
		for(int a = 0;a < n;a++){
			k = Math.ceil((k*1.05)/1000);
			k = k*1000;
			T = (int)k;
		}
		System.out.println(T);
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		double k = 100000;
		int T = 0;
		for(int a = 0;a < n;a++){
			k = Math.ceil((k*1.05)/1000);
			k = k*1000;
			T = (int)k;
		}
		System.out.println(T);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan double k = 100000; k 100000 int T = 0; T 0 for(int a = 0;a < n;a++){
			k = Math.ceil((k*1.05)/1000);
			k = k*1000;
			T = (int)k;
		} int a = 0; int a = 0; a 0 a < n a n a++ a++ a {
			k = Math.ceil((k*1.05)/1000);
			k = k*1000;
			T = (int)k;
		} {
			k = Math.ceil((k*1.05)/1000);
			k = k*1000;
			T = (int)k;
		} k = Math.ceil((k*1.05)/1000) k Math.ceil((k*1.05)/1000) Math.ceil Math (k*1.05)/1000 (k*1.05) k 1.05 1000 k = k*1000 k k*1000 k 1000 T = (int)k T (int)k System.out.println(T) System.out.println System.out System System.out T String[] args args public class Main {
	public static void main(String[] args) throws java.io.IOException {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		double k = 100000;
		int T = 0;
		for(int a = 0;a < n;a++){
			k = Math.ceil((k*1.05)/1000);
			k = k*1000;
			T = (int)k;
		}
		System.out.println(T);
	}
} public class Main {
	public static void main(String[] args) throws java.io.IOException {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		double k = 100000;
		int T = 0;
		for(int a = 0;a < n;a++){
			k = Math.ceil((k*1.05)/1000);
			k = k*1000;
			T = (int)k;
		}
		System.out.println(T);
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) throws java.io.IOException {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		double k = 100000;
		int T = 0;
		for(int a = 0;a < n;a++){
			k = Math.ceil((k*1.05)/1000);
			k = k*1000;
			T = (int)k;
		}
		System.out.println(T);
	}
}