import java.util.*;
import java.lang.*;
import java.math.*;

public class Main {
	Scanner sc = new Scanner(System.in);
	void run(){
		int x = sc.nextInt();
		int debt = 100000;
		for(int i = 0; i < x; i++){
			debt *= 1.05;
			debt += 999;
			debt /= 1000;
			debt *= 1000;
		}
		System.out.println(debt);
	}
	public static void main(String[] args){
		Main m = new Main();
		m.run();
		
	}
} import java.util.*; util.* java import java.lang.*; lang.* java import java.math.*; math.* java public class Main {
	Scanner sc = new Scanner(System.in);
	void run(){
		int x = sc.nextInt();
		int debt = 100000;
		for(int i = 0; i < x; i++){
			debt *= 1.05;
			debt += 999;
			debt /= 1000;
			debt *= 1000;
		}
		System.out.println(debt);
	}
	public static void main(String[] args){
		Main m = new Main();
		m.run();
		
	}
} Main Scanner sc = new Scanner(System.in); sc new Scanner(System.in) void run(){
		int x = sc.nextInt();
		int debt = 100000;
		for(int i = 0; i < x; i++){
			debt *= 1.05;
			debt += 999;
			debt /= 1000;
			debt *= 1000;
		}
		System.out.println(debt);
	} run {
		int x = sc.nextInt();
		int debt = 100000;
		for(int i = 0; i < x; i++){
			debt *= 1.05;
			debt += 999;
			debt /= 1000;
			debt *= 1000;
		}
		System.out.println(debt);
	} int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int debt = 100000; debt 100000 for(int i = 0; i < x; i++){
			debt *= 1.05;
			debt += 999;
			debt /= 1000;
			debt *= 1000;
		} int i = 0; int i = 0; i 0 i < x i x i++ i++ i {
			debt *= 1.05;
			debt += 999;
			debt /= 1000;
			debt *= 1000;
		} {
			debt *= 1.05;
			debt += 999;
			debt /= 1000;
			debt *= 1000;
		} debt *= 1.05 debt 1.05 debt += 999 debt 999 debt /= 1000 debt 1000 debt *= 1000 debt 1000 System.out.println(debt) System.out.println System.out System System.out debt public static void main(String[] args){
		Main m = new Main();
		m.run();
		
	} main {
		Main m = new Main();
		m.run();
		
	} Main m = new Main(); m new Main() m.run() m.run m String[] args args public class Main {
	Scanner sc = new Scanner(System.in);
	void run(){
		int x = sc.nextInt();
		int debt = 100000;
		for(int i = 0; i < x; i++){
			debt *= 1.05;
			debt += 999;
			debt /= 1000;
			debt *= 1000;
		}
		System.out.println(debt);
	}
	public static void main(String[] args){
		Main m = new Main();
		m.run();
		
	}
} public class Main {
	Scanner sc = new Scanner(System.in);
	void run(){
		int x = sc.nextInt();
		int debt = 100000;
		for(int i = 0; i < x; i++){
			debt *= 1.05;
			debt += 999;
			debt /= 1000;
			debt *= 1000;
		}
		System.out.println(debt);
	}
	public static void main(String[] args){
		Main m = new Main();
		m.run();
		
	}
} Main
import java.util.*;
import java.lang.*;
import java.math.*;

public class Main {
	Scanner sc = new Scanner(System.in);
	void run(){
		int x = sc.nextInt();
		int debt = 100000;
		for(int i = 0; i < x; i++){
			debt *= 1.05;
			debt += 999;
			debt /= 1000;
			debt *= 1000;
		}
		System.out.println(debt);
	}
	public static void main(String[] args){
		Main m = new Main();
		m.run();
		
	}
}