import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int base = 100000;
        int n = sc.nextInt();
        for (int i = 0; i < n; i++) {
            int next = (int) ((base * 1.05) / 1000) * 1000;
            if ((base * 1.05) % 1000 > 0){
                next += 1000;
            }
            base = next;
        }
        System.out.println(base);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int base = 100000;
        int n = sc.nextInt();
        for (int i = 0; i < n; i++) {
            int next = (int) ((base * 1.05) / 1000) * 1000;
            if ((base * 1.05) % 1000 > 0){
                next += 1000;
            }
            base = next;
        }
        System.out.println(base);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int base = 100000;
        int n = sc.nextInt();
        for (int i = 0; i < n; i++) {
            int next = (int) ((base * 1.05) / 1000) * 1000;
            if ((base * 1.05) % 1000 > 0){
                next += 1000;
            }
            base = next;
        }
        System.out.println(base);
    } main {
        Scanner sc = new Scanner(System.in);
        int base = 100000;
        int n = sc.nextInt();
        for (int i = 0; i < n; i++) {
            int next = (int) ((base * 1.05) / 1000) * 1000;
            if ((base * 1.05) % 1000 > 0){
                next += 1000;
            }
            base = next;
        }
        System.out.println(base);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int base = 100000; base 100000 int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc for (int i = 0; i < n; i++) {
            int next = (int) ((base * 1.05) / 1000) * 1000;
            if ((base * 1.05) % 1000 > 0){
                next += 1000;
            }
            base = next;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int next = (int) ((base * 1.05) / 1000) * 1000;
            if ((base * 1.05) % 1000 > 0){
                next += 1000;
            }
            base = next;
        } {
            int next = (int) ((base * 1.05) / 1000) * 1000;
            if ((base * 1.05) % 1000 > 0){
                next += 1000;
            }
            base = next;
        } int next = (int) ((base * 1.05) / 1000) * 1000; next (int) ((base * 1.05) / 1000) * 1000 (int) ((base * 1.05) / 1000) (base * 1.05) base 1.05 1000 1000 if ((base * 1.05) % 1000 > 0){
                next += 1000;
            } (base * 1.05) % 1000 > 0 (base * 1.05) % 1000 (base * 1.05) base 1.05 1000 0 {
                next += 1000;
            } next += 1000 next 1000 base = next base next System.out.println(base) System.out.println System.out System System.out base String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int base = 100000;
        int n = sc.nextInt();
        for (int i = 0; i < n; i++) {
            int next = (int) ((base * 1.05) / 1000) * 1000;
            if ((base * 1.05) % 1000 > 0){
                next += 1000;
            }
            base = next;
        }
        System.out.println(base);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int base = 100000;
        int n = sc.nextInt();
        for (int i = 0; i < n; i++) {
            int next = (int) ((base * 1.05) / 1000) * 1000;
            if ((base * 1.05) % 1000 > 0){
                next += 1000;
            }
            base = next;
        }
        System.out.println(base);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int base = 100000;
        int n = sc.nextInt();
        for (int i = 0; i < n; i++) {
            int next = (int) ((base * 1.05) / 1000) * 1000;
            if ((base * 1.05) % 1000 > 0){
                next += 1000;
            }
            base = next;
        }
        System.out.println(base);
    }
}