import java.util.Scanner;


public class Main {
	Scanner sc = new Scanner(System.in);
	
	void run(){
		int w = sc.nextInt();
		int p = 100000;
		for(int i = 0; i < w; i++){
			if((p*1.05)%1000 > 0){
				p = ((int)(p * 1.05)/1000+1)*1000;
			}else{
				p = (int)(p * 1.05);
			}
		}
		System.out.println(p);
	}
	
	public static void main(String[] args) {
		new Main().run();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	Scanner sc = new Scanner(System.in);
	
	void run(){
		int w = sc.nextInt();
		int p = 100000;
		for(int i = 0; i < w; i++){
			if((p*1.05)%1000 > 0){
				p = ((int)(p * 1.05)/1000+1)*1000;
			}else{
				p = (int)(p * 1.05);
			}
		}
		System.out.println(p);
	}
	
	public static void main(String[] args) {
		new Main().run();
	}
} Main Scanner sc = new Scanner(System.in); sc new Scanner(System.in) void run(){
		int w = sc.nextInt();
		int p = 100000;
		for(int i = 0; i < w; i++){
			if((p*1.05)%1000 > 0){
				p = ((int)(p * 1.05)/1000+1)*1000;
			}else{
				p = (int)(p * 1.05);
			}
		}
		System.out.println(p);
	} run {
		int w = sc.nextInt();
		int p = 100000;
		for(int i = 0; i < w; i++){
			if((p*1.05)%1000 > 0){
				p = ((int)(p * 1.05)/1000+1)*1000;
			}else{
				p = (int)(p * 1.05);
			}
		}
		System.out.println(p);
	} int w = sc.nextInt(); w sc.nextInt() sc.nextInt sc int p = 100000; p 100000 for(int i = 0; i < w; i++){
			if((p*1.05)%1000 > 0){
				p = ((int)(p * 1.05)/1000+1)*1000;
			}else{
				p = (int)(p * 1.05);
			}
		} int i = 0; int i = 0; i 0 i < w i w i++ i++ i {
			if((p*1.05)%1000 > 0){
				p = ((int)(p * 1.05)/1000+1)*1000;
			}else{
				p = (int)(p * 1.05);
			}
		} {
			if((p*1.05)%1000 > 0){
				p = ((int)(p * 1.05)/1000+1)*1000;
			}else{
				p = (int)(p * 1.05);
			}
		} if((p*1.05)%1000 > 0){
				p = ((int)(p * 1.05)/1000+1)*1000;
			}else{
				p = (int)(p * 1.05);
			} (p*1.05)%1000 > 0 (p*1.05)%1000 (p*1.05) p 1.05 1000 0 {
				p = ((int)(p * 1.05)/1000+1)*1000;
			} p = ((int)(p * 1.05)/1000+1)*1000 p ((int)(p * 1.05)/1000+1)*1000 ((int)(p * 1.05)/1000+1) (int)(p * 1.05)/1000 (int)(p * 1.05) p 1.05 1000 1 1000 {
				p = (int)(p * 1.05);
			} p = (int)(p * 1.05) p (int)(p * 1.05) p 1.05 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 public class Main {
	Scanner sc = new Scanner(System.in);
	
	void run(){
		int w = sc.nextInt();
		int p = 100000;
		for(int i = 0; i < w; i++){
			if((p*1.05)%1000 > 0){
				p = ((int)(p * 1.05)/1000+1)*1000;
			}else{
				p = (int)(p * 1.05);
			}
		}
		System.out.println(p);
	}
	
	public static void main(String[] args) {
		new Main().run();
	}
} public class Main {
	Scanner sc = new Scanner(System.in);
	
	void run(){
		int w = sc.nextInt();
		int p = 100000;
		for(int i = 0; i < w; i++){
			if((p*1.05)%1000 > 0){
				p = ((int)(p * 1.05)/1000+1)*1000;
			}else{
				p = (int)(p * 1.05);
			}
		}
		System.out.println(p);
	}
	
	public static void main(String[] args) {
		new Main().run();
	}
} Main
import java.util.Scanner;


public class Main {
	Scanner sc = new Scanner(System.in);
	
	void run(){
		int w = sc.nextInt();
		int p = 100000;
		for(int i = 0; i < w; i++){
			if((p*1.05)%1000 > 0){
				p = ((int)(p * 1.05)/1000+1)*1000;
			}else{
				p = (int)(p * 1.05);
			}
		}
		System.out.println(p);
	}
	
	public static void main(String[] args) {
		new Main().run();
	}
}