import java.util.Scanner;

public class Main {
    // Round by 3 digits
    static float roundUp(float value) {
        float mod = value % 1000;
        if (mod > 0) {
            value = value + (1000 - mod);
        }
        return value;
    }

    public static void main(String[] args) {
        float gankin = 100_000f;
        Scanner sc = new Scanner(System.in);
        int nweek = sc.nextInt();
        float debt = gankin;
        for (int i = 0; i < nweek; i++) {
            debt = roundUp(debt * 1.05f);
        }
        System.out.printf("%d\n", Math.round(debt));
    }
} import java.util.Scanner; Scanner java.util public class Main {
    // Round by 3 digits
    static float roundUp(float value) {
        float mod = value % 1000;
        if (mod > 0) {
            value = value + (1000 - mod);
        }
        return value;
    }

    public static void main(String[] args) {
        float gankin = 100_000f;
        Scanner sc = new Scanner(System.in);
        int nweek = sc.nextInt();
        float debt = gankin;
        for (int i = 0; i < nweek; i++) {
            debt = roundUp(debt * 1.05f);
        }
        System.out.printf("%d\n", Math.round(debt));
    }
} Main // Round by 3 digits
    static float roundUp(float value) {
        float mod = value % 1000;
        if (mod > 0) {
            value = value + (1000 - mod);
        }
        return value;
    } roundUp {
        float mod = value % 1000;
        if (mod > 0) {
            value = value + (1000 - mod);
        }
        return value;
    } float mod = value % 1000; mod value % 1000 value 1000 if (mod > 0) {
            value = value + (1000 - mod);
        } mod > 0 mod 0 {
            value = value + (1000 - mod);
        } value = value + (1000 - mod) value value + (1000 - mod) value (1000 - mod) 1000 mod return value; value float value value public static void main(String[] args) {
        float gankin = 100_000f;
        Scanner sc = new Scanner(System.in);
        int nweek = sc.nextInt();
        float debt = gankin;
        for (int i = 0; i < nweek; i++) {
            debt = roundUp(debt * 1.05f);
        }
        System.out.printf("%d\n", Math.round(debt));
    } main {
        float gankin = 100_000f;
        Scanner sc = new Scanner(System.in);
        int nweek = sc.nextInt();
        float debt = gankin;
        for (int i = 0; i < nweek; i++) {
            debt = roundUp(debt * 1.05f);
        }
        System.out.printf("%d\n", Math.round(debt));
    } float gankin = 100_000f; gankin 100_000f Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int nweek = sc.nextInt(); nweek sc.nextInt() sc.nextInt sc float debt = gankin; debt gankin for (int i = 0; i < nweek; i++) {
            debt = roundUp(debt * 1.05f);
        } int i = 0; int i = 0; i 0 i < nweek i nweek i++ i++ i {
            debt = roundUp(debt * 1.05f);
        } {
            debt = roundUp(debt * 1.05f);
        } debt = roundUp(debt * 1.05f) debt roundUp(debt * 1.05f) roundUp debt * 1.05f debt 1.05f System.out.printf("%d\n", Math.round(debt)) System.out.printf System.out System System.out "%d\n" Math.round(debt) Math.round Math debt String[] args args public class Main {
    // Round by 3 digits
    static float roundUp(float value) {
        float mod = value % 1000;
        if (mod > 0) {
            value = value + (1000 - mod);
        }
        return value;
    }

    public static void main(String[] args) {
        float gankin = 100_000f;
        Scanner sc = new Scanner(System.in);
        int nweek = sc.nextInt();
        float debt = gankin;
        for (int i = 0; i < nweek; i++) {
            debt = roundUp(debt * 1.05f);
        }
        System.out.printf("%d\n", Math.round(debt));
    }
} public class Main {
    // Round by 3 digits
    static float roundUp(float value) {
        float mod = value % 1000;
        if (mod > 0) {
            value = value + (1000 - mod);
        }
        return value;
    }

    public static void main(String[] args) {
        float gankin = 100_000f;
        Scanner sc = new Scanner(System.in);
        int nweek = sc.nextInt();
        float debt = gankin;
        for (int i = 0; i < nweek; i++) {
            debt = roundUp(debt * 1.05f);
        }
        System.out.printf("%d\n", Math.round(debt));
    }
} Main
import java.util.Scanner;

public class Main {
    // Round by 3 digits
    static float roundUp(float value) {
        float mod = value % 1000;
        if (mod > 0) {
            value = value + (1000 - mod);
        }
        return value;
    }

    public static void main(String[] args) {
        float gankin = 100_000f;
        Scanner sc = new Scanner(System.in);
        int nweek = sc.nextInt();
        float debt = gankin;
        for (int i = 0; i < nweek; i++) {
            debt = roundUp(debt * 1.05f);
        }
        System.out.printf("%d\n", Math.round(debt));
    }
}