import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		ArrayDeque<Integer> ans = new ArrayDeque<Integer>();

		while(sc.hasNext()){
			int n = sc.nextInt();
			int m = 100000;
			for(int j=0;j<n;j++){
				m *= 1.05;
				double s = (double)m/1000;
				int t = m/1000;
				if(s!=t)m=(t+1)*1000;
			}
			ans.push(m);
		}
		int num = ans.size();
		for(int i=0;i<num;i++){
			System.out.println(ans.pollLast());
		}
	}
} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		ArrayDeque<Integer> ans = new ArrayDeque<Integer>();

		while(sc.hasNext()){
			int n = sc.nextInt();
			int m = 100000;
			for(int j=0;j<n;j++){
				m *= 1.05;
				double s = (double)m/1000;
				int t = m/1000;
				if(s!=t)m=(t+1)*1000;
			}
			ans.push(m);
		}
		int num = ans.size();
		for(int i=0;i<num;i++){
			System.out.println(ans.pollLast());
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		ArrayDeque<Integer> ans = new ArrayDeque<Integer>();

		while(sc.hasNext()){
			int n = sc.nextInt();
			int m = 100000;
			for(int j=0;j<n;j++){
				m *= 1.05;
				double s = (double)m/1000;
				int t = m/1000;
				if(s!=t)m=(t+1)*1000;
			}
			ans.push(m);
		}
		int num = ans.size();
		for(int i=0;i<num;i++){
			System.out.println(ans.pollLast());
		}
	} main {
		Scanner sc = new Scanner(System.in);
		ArrayDeque<Integer> ans = new ArrayDeque<Integer>();

		while(sc.hasNext()){
			int n = sc.nextInt();
			int m = 100000;
			for(int j=0;j<n;j++){
				m *= 1.05;
				double s = (double)m/1000;
				int t = m/1000;
				if(s!=t)m=(t+1)*1000;
			}
			ans.push(m);
		}
		int num = ans.size();
		for(int i=0;i<num;i++){
			System.out.println(ans.pollLast());
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) ArrayDeque<Integer> ans = new ArrayDeque<Integer>(); ans new ArrayDeque<Integer>() while(sc.hasNext()){
			int n = sc.nextInt();
			int m = 100000;
			for(int j=0;j<n;j++){
				m *= 1.05;
				double s = (double)m/1000;
				int t = m/1000;
				if(s!=t)m=(t+1)*1000;
			}
			ans.push(m);
		} sc.hasNext() sc.hasNext sc {
			int n = sc.nextInt();
			int m = 100000;
			for(int j=0;j<n;j++){
				m *= 1.05;
				double s = (double)m/1000;
				int t = m/1000;
				if(s!=t)m=(t+1)*1000;
			}
			ans.push(m);
		} int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int m = 100000; m 100000 for(int j=0;j<n;j++){
				m *= 1.05;
				double s = (double)m/1000;
				int t = m/1000;
				if(s!=t)m=(t+1)*1000;
			} int j=0; int j=0; j 0 j<n j n j++ j++ j {
				m *= 1.05;
				double s = (double)m/1000;
				int t = m/1000;
				if(s!=t)m=(t+1)*1000;
			} {
				m *= 1.05;
				double s = (double)m/1000;
				int t = m/1000;
				if(s!=t)m=(t+1)*1000;
			} m *= 1.05 m 1.05 double s = (double)m/1000; s (double)m/1000 (double)m 1000 int t = m/1000; t m/1000 m 1000 if(s!=t)m=(t+1)*1000; s!=t s t m=(t+1)*1000 m (t+1)*1000 (t+1) t 1 1000 ans.push(m) ans.push ans m int num = ans.size(); num ans.size() ans.size ans for(int i=0;i<num;i++){
			System.out.println(ans.pollLast());
		} int i=0; int i=0; i 0 i<num i num i++ i++ i {
			System.out.println(ans.pollLast());
		} {
			System.out.println(ans.pollLast());
		} System.out.println(ans.pollLast()) System.out.println System.out System System.out ans.pollLast() ans.pollLast ans String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		ArrayDeque<Integer> ans = new ArrayDeque<Integer>();

		while(sc.hasNext()){
			int n = sc.nextInt();
			int m = 100000;
			for(int j=0;j<n;j++){
				m *= 1.05;
				double s = (double)m/1000;
				int t = m/1000;
				if(s!=t)m=(t+1)*1000;
			}
			ans.push(m);
		}
		int num = ans.size();
		for(int i=0;i<num;i++){
			System.out.println(ans.pollLast());
		}
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		ArrayDeque<Integer> ans = new ArrayDeque<Integer>();

		while(sc.hasNext()){
			int n = sc.nextInt();
			int m = 100000;
			for(int j=0;j<n;j++){
				m *= 1.05;
				double s = (double)m/1000;
				int t = m/1000;
				if(s!=t)m=(t+1)*1000;
			}
			ans.push(m);
		}
		int num = ans.size();
		for(int i=0;i<num;i++){
			System.out.println(ans.pollLast());
		}
	}
} Main
import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		ArrayDeque<Integer> ans = new ArrayDeque<Integer>();

		while(sc.hasNext()){
			int n = sc.nextInt();
			int m = 100000;
			for(int j=0;j<n;j++){
				m *= 1.05;
				double s = (double)m/1000;
				int t = m/1000;
				if(s!=t)m=(t+1)*1000;
			}
			ans.push(m);
		}
		int num = ans.size();
		for(int i=0;i<num;i++){
			System.out.println(ans.pollLast());
		}
	}
}