import java.util.*;


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


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