import java.util.Scanner;

class Main {
    public static void main (String args[]) {
	Scanner scan = new Scanner(System.in);
	int n = scan.nextInt();
	double debt = 100; //100,000 / 1,000
	double interest = 0;

	for (int i=0; i<n; i++) {
	    interest = debt * 0.05;
	    debt += interest;
	    debt = Math.ceil(debt);
	}

	System.out.printf("%.0f\n", (debt*1000));
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main (String args[]) {
	Scanner scan = new Scanner(System.in);
	int n = scan.nextInt();
	double debt = 100; //100,000 / 1,000
	double interest = 0;

	for (int i=0; i<n; i++) {
	    interest = debt * 0.05;
	    debt += interest;
	    debt = Math.ceil(debt);
	}

	System.out.printf("%.0f\n", (debt*1000));
    }
} Main public static void main (String args[]) {
	Scanner scan = new Scanner(System.in);
	int n = scan.nextInt();
	double debt = 100; //100,000 / 1,000
	double interest = 0;

	for (int i=0; i<n; i++) {
	    interest = debt * 0.05;
	    debt += interest;
	    debt = Math.ceil(debt);
	}

	System.out.printf("%.0f\n", (debt*1000));
    } main {
	Scanner scan = new Scanner(System.in);
	int n = scan.nextInt();
	double debt = 100; //100,000 / 1,000
	double interest = 0;

	for (int i=0; i<n; i++) {
	    interest = debt * 0.05;
	    debt += interest;
	    debt = Math.ceil(debt);
	}

	System.out.printf("%.0f\n", (debt*1000));
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan double debt = 100; debt 100 double interest = 0; interest 0 for (int i=0; i<n; i++) {
	    interest = debt * 0.05;
	    debt += interest;
	    debt = Math.ceil(debt);
	} int i=0; int i=0; i 0 i<n i n i++ i++ i {
	    interest = debt * 0.05;
	    debt += interest;
	    debt = Math.ceil(debt);
	} {
	    interest = debt * 0.05;
	    debt += interest;
	    debt = Math.ceil(debt);
	} interest = debt * 0.05 interest debt * 0.05 debt 0.05 debt += interest debt interest debt = Math.ceil(debt) debt Math.ceil(debt) Math.ceil Math debt System.out.printf("%.0f\n", (debt*1000)) System.out.printf System.out System System.out "%.0f\n" (debt*1000) debt 1000 String args[] args
import java.util.Scanner;

class Main {
    public static void main (String args[]) {
	Scanner scan = new Scanner(System.in);
	int n = scan.nextInt();
	double debt = 100; //100,000 / 1,000
	double interest = 0;

	for (int i=0; i<n; i++) {
	    interest = debt * 0.05;
	    debt += interest;
	    debt = Math.ceil(debt);
	}

	System.out.printf("%.0f\n", (debt*1000));
    }
}