import java.util.*;
public class Main {

	public void doIt(){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int debt = 100000;
		for(int i=0; i < n; i++){
			debt = debt + (debt * 5 / 100);
			if(debt % 1000 == 0){
				debt = (debt / 1000) * 1000;
			}
			else{
				debt = (debt / 1000 + 1) * 1000;
			}
		}

		System.out.println(debt);

	}
	public static void main(String[] args) {
		Main obj = new Main();
		obj.doIt();
	}
} import java.util.*; util.* java public class Main {

	public void doIt(){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int debt = 100000;
		for(int i=0; i < n; i++){
			debt = debt + (debt * 5 / 100);
			if(debt % 1000 == 0){
				debt = (debt / 1000) * 1000;
			}
			else{
				debt = (debt / 1000 + 1) * 1000;
			}
		}

		System.out.println(debt);

	}
	public static void main(String[] args) {
		Main obj = new Main();
		obj.doIt();
	}
} Main public void doIt(){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int debt = 100000;
		for(int i=0; i < n; i++){
			debt = debt + (debt * 5 / 100);
			if(debt % 1000 == 0){
				debt = (debt / 1000) * 1000;
			}
			else{
				debt = (debt / 1000 + 1) * 1000;
			}
		}

		System.out.println(debt);

	} doIt {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int debt = 100000;
		for(int i=0; i < n; i++){
			debt = debt + (debt * 5 / 100);
			if(debt % 1000 == 0){
				debt = (debt / 1000) * 1000;
			}
			else{
				debt = (debt / 1000 + 1) * 1000;
			}
		}

		System.out.println(debt);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int debt = 100000; debt 100000 for(int i=0; i < n; i++){
			debt = debt + (debt * 5 / 100);
			if(debt % 1000 == 0){
				debt = (debt / 1000) * 1000;
			}
			else{
				debt = (debt / 1000 + 1) * 1000;
			}
		} int i=0; int i=0; i 0 i < n i n i++ i++ i {
			debt = debt + (debt * 5 / 100);
			if(debt % 1000 == 0){
				debt = (debt / 1000) * 1000;
			}
			else{
				debt = (debt / 1000 + 1) * 1000;
			}
		} {
			debt = debt + (debt * 5 / 100);
			if(debt % 1000 == 0){
				debt = (debt / 1000) * 1000;
			}
			else{
				debt = (debt / 1000 + 1) * 1000;
			}
		} debt = debt + (debt * 5 / 100) debt debt + (debt * 5 / 100) debt (debt * 5 / 100) debt * 5 debt 5 100 if(debt % 1000 == 0){
				debt = (debt / 1000) * 1000;
			}
			else{
				debt = (debt / 1000 + 1) * 1000;
			} debt % 1000 == 0 debt % 1000 debt 1000 0 {
				debt = (debt / 1000) * 1000;
			} debt = (debt / 1000) * 1000 debt (debt / 1000) * 1000 (debt / 1000) debt 1000 1000 {
				debt = (debt / 1000 + 1) * 1000;
			} debt = (debt / 1000 + 1) * 1000 debt (debt / 1000 + 1) * 1000 (debt / 1000 + 1) debt / 1000 debt 1000 1 1000 System.out.println(debt) System.out.println System.out System System.out debt public static void main(String[] args) {
		Main obj = new Main();
		obj.doIt();
	} main {
		Main obj = new Main();
		obj.doIt();
	} Main obj = new Main(); obj new Main() obj.doIt() obj.doIt obj String[] args args public class Main {

	public void doIt(){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int debt = 100000;
		for(int i=0; i < n; i++){
			debt = debt + (debt * 5 / 100);
			if(debt % 1000 == 0){
				debt = (debt / 1000) * 1000;
			}
			else{
				debt = (debt / 1000 + 1) * 1000;
			}
		}

		System.out.println(debt);

	}
	public static void main(String[] args) {
		Main obj = new Main();
		obj.doIt();
	}
} public class Main {

	public void doIt(){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int debt = 100000;
		for(int i=0; i < n; i++){
			debt = debt + (debt * 5 / 100);
			if(debt % 1000 == 0){
				debt = (debt / 1000) * 1000;
			}
			else{
				debt = (debt / 1000 + 1) * 1000;
			}
		}

		System.out.println(debt);

	}
	public static void main(String[] args) {
		Main obj = new Main();
		obj.doIt();
	}
} Main
import java.util.*;
public class Main {

	public void doIt(){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int debt = 100000;
		for(int i=0; i < n; i++){
			debt = debt + (debt * 5 / 100);
			if(debt % 1000 == 0){
				debt = (debt / 1000) * 1000;
			}
			else{
				debt = (debt / 1000 + 1) * 1000;
			}
		}

		System.out.println(debt);

	}
	public static void main(String[] args) {
		Main obj = new Main();
		obj.doIt();
	}
}