import java.util.Scanner;

class Main {

    public static void main(String[] args){
	Scanner stdin = new Scanner(System.in);
	int money = 100000;
	int n = stdin.nextInt();
	for(int i = 0; i < n; i++){
	    money = (int)(money * 1.05);
	    if(money % 1000 > 0){
		money /= 1000;
		money++;
		money *= 1000;
	    }
	}
	System.out.println(money);
    }
} import java.util.Scanner; Scanner java.util class Main {

    public static void main(String[] args){
	Scanner stdin = new Scanner(System.in);
	int money = 100000;
	int n = stdin.nextInt();
	for(int i = 0; i < n; i++){
	    money = (int)(money * 1.05);
	    if(money % 1000 > 0){
		money /= 1000;
		money++;
		money *= 1000;
	    }
	}
	System.out.println(money);
    }
} Main public static void main(String[] args){
	Scanner stdin = new Scanner(System.in);
	int money = 100000;
	int n = stdin.nextInt();
	for(int i = 0; i < n; i++){
	    money = (int)(money * 1.05);
	    if(money % 1000 > 0){
		money /= 1000;
		money++;
		money *= 1000;
	    }
	}
	System.out.println(money);
    } main {
	Scanner stdin = new Scanner(System.in);
	int money = 100000;
	int n = stdin.nextInt();
	for(int i = 0; i < n; i++){
	    money = (int)(money * 1.05);
	    if(money % 1000 > 0){
		money /= 1000;
		money++;
		money *= 1000;
	    }
	}
	System.out.println(money);
    } Scanner stdin = new Scanner(System.in); stdin new Scanner(System.in) int money = 100000; money 100000 int n = stdin.nextInt(); n stdin.nextInt() stdin.nextInt stdin for(int i = 0; i < n; i++){
	    money = (int)(money * 1.05);
	    if(money % 1000 > 0){
		money /= 1000;
		money++;
		money *= 1000;
	    }
	} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
	    money = (int)(money * 1.05);
	    if(money % 1000 > 0){
		money /= 1000;
		money++;
		money *= 1000;
	    }
	} {
	    money = (int)(money * 1.05);
	    if(money % 1000 > 0){
		money /= 1000;
		money++;
		money *= 1000;
	    }
	} money = (int)(money * 1.05) money (int)(money * 1.05) money 1.05 if(money % 1000 > 0){
		money /= 1000;
		money++;
		money *= 1000;
	    } money % 1000 > 0 money % 1000 money 1000 0 {
		money /= 1000;
		money++;
		money *= 1000;
	    } money /= 1000 money 1000 money++ money money *= 1000 money 1000 System.out.println(money) System.out.println System.out System System.out money String[] args args
import java.util.Scanner;

class Main {

    public static void main(String[] args){
	Scanner stdin = new Scanner(System.in);
	int money = 100000;
	int n = stdin.nextInt();
	for(int i = 0; i < n; i++){
	    money = (int)(money * 1.05);
	    if(money % 1000 > 0){
		money /= 1000;
		money++;
		money *= 1000;
	    }
	}
	System.out.println(money);
    }
}