
import java.util.Scanner;

class Main {
	Scanner sc = new Scanner(System.in);

	public void run() {
		int count=sc.nextInt();
		long money=100000;
		while(count--!=0){
			money*=1.05;
			if(money%1000!=0)money+=1000;
			money-=money%1000;
		}
		ln(money);
	}

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

	public static void pr(Object o) {
		System.out.print(o);
	}

	public static void ln(Object o) {
		System.out.println(o);
	}

	public static void ln() {
		System.out.println();
	}
} import java.util.Scanner; Scanner java.util class Main {
	Scanner sc = new Scanner(System.in);

	public void run() {
		int count=sc.nextInt();
		long money=100000;
		while(count--!=0){
			money*=1.05;
			if(money%1000!=0)money+=1000;
			money-=money%1000;
		}
		ln(money);
	}

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

	public static void pr(Object o) {
		System.out.print(o);
	}

	public static void ln(Object o) {
		System.out.println(o);
	}

	public static void ln() {
		System.out.println();
	}
} Main Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public void run() {
		int count=sc.nextInt();
		long money=100000;
		while(count--!=0){
			money*=1.05;
			if(money%1000!=0)money+=1000;
			money-=money%1000;
		}
		ln(money);
	} run {
		int count=sc.nextInt();
		long money=100000;
		while(count--!=0){
			money*=1.05;
			if(money%1000!=0)money+=1000;
			money-=money%1000;
		}
		ln(money);
	} int count=sc.nextInt(); count sc.nextInt() sc.nextInt sc long money=100000; money 100000 while(count--!=0){
			money*=1.05;
			if(money%1000!=0)money+=1000;
			money-=money%1000;
		} count--!=0 count-- count 0 {
			money*=1.05;
			if(money%1000!=0)money+=1000;
			money-=money%1000;
		} money*=1.05 money 1.05 if(money%1000!=0)money+=1000; money%1000!=0 money%1000 money 1000 0 money+=1000 money 1000 money-=money%1000 money money%1000 money 1000 ln(money) ln money 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 static void pr(Object o) {
		System.out.print(o);
	} pr {
		System.out.print(o);
	} System.out.print(o) System.out.print System.out System System.out o Object o o public static void ln(Object o) {
		System.out.println(o);
	} ln {
		System.out.println(o);
	} System.out.println(o) System.out.println System.out System System.out o Object o o public static void ln() {
		System.out.println();
	} ln {
		System.out.println();
	} System.out.println() System.out.println System.out System System.out

import java.util.Scanner;

class Main {
	Scanner sc = new Scanner(System.in);

	public void run() {
		int count=sc.nextInt();
		long money=100000;
		while(count--!=0){
			money*=1.05;
			if(money%1000!=0)money+=1000;
			money-=money%1000;
		}
		ln(money);
	}

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

	public static void pr(Object o) {
		System.out.print(o);
	}

	public static void ln(Object o) {
		System.out.println(o);
	}

	public static void ln() {
		System.out.println();
	}
}