import java.util.*;
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		int n = stdIn.nextInt();
		long money = 100000;
		
		for(int i=1; i<=n; i++){
			money = (long) (money*1.05);
			if(money % 1000 != 0)
				money = money - money%1000 +1000 ; 
				
		}
		
		System.out.println(money);

	}

} import java.util.*; util.* java public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		int n = stdIn.nextInt();
		long money = 100000;
		
		for(int i=1; i<=n; i++){
			money = (long) (money*1.05);
			if(money % 1000 != 0)
				money = money - money%1000 +1000 ; 
				
		}
		
		System.out.println(money);

	}

} Main /**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		int n = stdIn.nextInt();
		long money = 100000;
		
		for(int i=1; i<=n; i++){
			money = (long) (money*1.05);
			if(money % 1000 != 0)
				money = money - money%1000 +1000 ; 
				
		}
		
		System.out.println(money);

	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		int n = stdIn.nextInt();
		long money = 100000;
		
		for(int i=1; i<=n; i++){
			money = (long) (money*1.05);
			if(money % 1000 != 0)
				money = money - money%1000 +1000 ; 
				
		}
		
		System.out.println(money);

	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int n = stdIn.nextInt(); n stdIn.nextInt() stdIn.nextInt stdIn long money = 100000; money 100000 for(int i=1; i<=n; i++){
			money = (long) (money*1.05);
			if(money % 1000 != 0)
				money = money - money%1000 +1000 ; 
				
		} int i=1; int i=1; i 1 i<=n i n i++ i++ i {
			money = (long) (money*1.05);
			if(money % 1000 != 0)
				money = money - money%1000 +1000 ; 
				
		} {
			money = (long) (money*1.05);
			if(money % 1000 != 0)
				money = money - money%1000 +1000 ; 
				
		} money = (long) (money*1.05) money (long) (money*1.05) money 1.05 if(money % 1000 != 0)
				money = money - money%1000 +1000 ; money % 1000 != 0 money % 1000 money 1000 0 money = money - money%1000 +1000 money money - money%1000 +1000 money - money%1000 money money%1000 money 1000 1000 System.out.println(money) System.out.println System.out System System.out money String[] args args public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		int n = stdIn.nextInt();
		long money = 100000;
		
		for(int i=1; i<=n; i++){
			money = (long) (money*1.05);
			if(money % 1000 != 0)
				money = money - money%1000 +1000 ; 
				
		}
		
		System.out.println(money);

	}

} public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		int n = stdIn.nextInt();
		long money = 100000;
		
		for(int i=1; i<=n; i++){
			money = (long) (money*1.05);
			if(money % 1000 != 0)
				money = money - money%1000 +1000 ; 
				
		}
		
		System.out.println(money);

	}

} Main
import java.util.*;
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner stdIn = new Scanner(System.in);
		
		int n = stdIn.nextInt();
		long money = 100000;
		
		for(int i=1; i<=n; i++){
			money = (long) (money*1.05);
			if(money % 1000 != 0)
				money = money - money%1000 +1000 ; 
				
		}
		
		System.out.println(money);

	}

}