import java.util.Scanner;

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

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