import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		double c = 100000;
		for(int i = 0; i < n; i++) {
			c += c*0.05;
			if(c % 1000 != 0) {
				c -= c % 1000;
				c += 1000;
			}
			
		}
		System.out.printf("%.0f\n",c);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		double c = 100000;
		for(int i = 0; i < n; i++) {
			c += c*0.05;
			if(c % 1000 != 0) {
				c -= c % 1000;
				c += 1000;
			}
			
		}
		System.out.printf("%.0f\n",c);
	}
} Main public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		double c = 100000;
		for(int i = 0; i < n; i++) {
			c += c*0.05;
			if(c % 1000 != 0) {
				c -= c % 1000;
				c += 1000;
			}
			
		}
		System.out.printf("%.0f\n",c);
	} main {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		double c = 100000;
		for(int i = 0; i < n; i++) {
			c += c*0.05;
			if(c % 1000 != 0) {
				c -= c % 1000;
				c += 1000;
			}
			
		}
		System.out.printf("%.0f\n",c);
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int n = s.nextInt(); n s.nextInt() s.nextInt s double c = 100000; c 100000 for(int i = 0; i < n; i++) {
			c += c*0.05;
			if(c % 1000 != 0) {
				c -= c % 1000;
				c += 1000;
			}
			
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			c += c*0.05;
			if(c % 1000 != 0) {
				c -= c % 1000;
				c += 1000;
			}
			
		} {
			c += c*0.05;
			if(c % 1000 != 0) {
				c -= c % 1000;
				c += 1000;
			}
			
		} c += c*0.05 c c*0.05 c 0.05 if(c % 1000 != 0) {
				c -= c % 1000;
				c += 1000;
			} c % 1000 != 0 c % 1000 c 1000 0 {
				c -= c % 1000;
				c += 1000;
			} c -= c % 1000 c c % 1000 c 1000 c += 1000 c 1000 System.out.printf("%.0f\n",c) System.out.printf System.out System System.out "%.0f\n" c String[] args args public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		double c = 100000;
		for(int i = 0; i < n; i++) {
			c += c*0.05;
			if(c % 1000 != 0) {
				c -= c % 1000;
				c += 1000;
			}
			
		}
		System.out.printf("%.0f\n",c);
	}
} public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		double c = 100000;
		for(int i = 0; i < n; i++) {
			c += c*0.05;
			if(c % 1000 != 0) {
				c -= c % 1000;
				c += 1000;
			}
			
		}
		System.out.printf("%.0f\n",c);
	}
} Main
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		double c = 100000;
		for(int i = 0; i < n; i++) {
			c += c*0.05;
			if(c % 1000 != 0) {
				c -= c % 1000;
				c += 1000;
			}
			
		}
		System.out.printf("%.0f\n",c);
	}
}