import java.util.Scanner;
public class Main {
    public static void main (String[] args) {
	Scanner scan = new Scanner(System.in);
	int n = scan.nextInt();
	double money = 100;
	for (int i = 0; i < n; i++) {
	    money *= 1.05;
	    money = Math.ceil(money);
	}
	System.out.println((int)money * 1000);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main (String[] args) {
	Scanner scan = new Scanner(System.in);
	int n = scan.nextInt();
	double money = 100;
	for (int i = 0; i < n; i++) {
	    money *= 1.05;
	    money = Math.ceil(money);
	}
	System.out.println((int)money * 1000);
    }
} Main public static void main (String[] args) {
	Scanner scan = new Scanner(System.in);
	int n = scan.nextInt();
	double money = 100;
	for (int i = 0; i < n; i++) {
	    money *= 1.05;
	    money = Math.ceil(money);
	}
	System.out.println((int)money * 1000);
    } main {
	Scanner scan = new Scanner(System.in);
	int n = scan.nextInt();
	double money = 100;
	for (int i = 0; i < n; i++) {
	    money *= 1.05;
	    money = Math.ceil(money);
	}
	System.out.println((int)money * 1000);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan double money = 100; money 100 for (int i = 0; i < n; i++) {
	    money *= 1.05;
	    money = Math.ceil(money);
	} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
	    money *= 1.05;
	    money = Math.ceil(money);
	} {
	    money *= 1.05;
	    money = Math.ceil(money);
	} money *= 1.05 money 1.05 money = Math.ceil(money) money Math.ceil(money) Math.ceil Math money System.out.println((int)money * 1000) System.out.println System.out System System.out (int)money * 1000 (int)money 1000 String[] args args public class Main {
    public static void main (String[] args) {
	Scanner scan = new Scanner(System.in);
	int n = scan.nextInt();
	double money = 100;
	for (int i = 0; i < n; i++) {
	    money *= 1.05;
	    money = Math.ceil(money);
	}
	System.out.println((int)money * 1000);
    }
} public class Main {
    public static void main (String[] args) {
	Scanner scan = new Scanner(System.in);
	int n = scan.nextInt();
	double money = 100;
	for (int i = 0; i < n; i++) {
	    money *= 1.05;
	    money = Math.ceil(money);
	}
	System.out.println((int)money * 1000);
    }
} Main
import java.util.Scanner;
public class Main {
    public static void main (String[] args) {
	Scanner scan = new Scanner(System.in);
	int n = scan.nextInt();
	double money = 100;
	for (int i = 0; i < n; i++) {
	    money *= 1.05;
	    money = Math.ceil(money);
	}
	System.out.println((int)money * 1000);
    }
}