import java.util.*;

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

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