import java.util.*;

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

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