import java.util.Scanner;

/**
 * 
 * @author hiranoi
 *
 *         ?????????????????§??????????????????????????°??£?????? ???????????????????\?????????? 10 ???????????????????????????????????¨??????????????????????????¨???????????????
 *         ???????\???????????????±????????¨??? 5% ???????????????????????????????????????????????? 1,000 ?????????????????????????????????
 * 
 *         ??´??° n ?????\?????????n??±???????????????????????????????????????????????°?????????????????????????????????
 *
 */
public class Main {
    static final int DEBT = 100000;
    static final double PER = 1.05;

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int week = Integer.parseInt(sc.nextLine());
        System.out.println(calcDebt(week));
    }

    private static int calcDebt(int week) {
        double nowDebt = DEBT; // ??¨??????????????????
        for (int i = 0; i < week; i++) {
            nowDebt = nowDebt * PER;
            nowDebt = (int) Math.ceil((double) nowDebt / 1000) * 1000;
        }
        return (int) nowDebt;
    }
} import java.util.Scanner; Scanner java.util public class Main {
    static final int DEBT = 100000;
    static final double PER = 1.05;

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int week = Integer.parseInt(sc.nextLine());
        System.out.println(calcDebt(week));
    }

    private static int calcDebt(int week) {
        double nowDebt = DEBT; // ??¨??????????????????
        for (int i = 0; i < week; i++) {
            nowDebt = nowDebt * PER;
            nowDebt = (int) Math.ceil((double) nowDebt / 1000) * 1000;
        }
        return (int) nowDebt;
    }
} Main static final int DEBT = 100000; DEBT 100000 static final double PER = 1.05; PER 1.05 public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int week = Integer.parseInt(sc.nextLine());
        System.out.println(calcDebt(week));
    } main {
        Scanner sc = new Scanner(System.in);
        int week = Integer.parseInt(sc.nextLine());
        System.out.println(calcDebt(week));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int week = Integer.parseInt(sc.nextLine()); week Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc System.out.println(calcDebt(week)) System.out.println System.out System System.out calcDebt(week) calcDebt week String[] args args private static int calcDebt(int week) {
        double nowDebt = DEBT; // ??¨??????????????????
        for (int i = 0; i < week; i++) {
            nowDebt = nowDebt * PER;
            nowDebt = (int) Math.ceil((double) nowDebt / 1000) * 1000;
        }
        return (int) nowDebt;
    } calcDebt {
        double nowDebt = DEBT; // ??¨??????????????????
        for (int i = 0; i < week; i++) {
            nowDebt = nowDebt * PER;
            nowDebt = (int) Math.ceil((double) nowDebt / 1000) * 1000;
        }
        return (int) nowDebt;
    } double nowDebt = DEBT; nowDebt DEBT for (int i = 0; i < week; i++) {
            nowDebt = nowDebt * PER;
            nowDebt = (int) Math.ceil((double) nowDebt / 1000) * 1000;
        } int i = 0; int i = 0; i 0 i < week i week i++ i++ i {
            nowDebt = nowDebt * PER;
            nowDebt = (int) Math.ceil((double) nowDebt / 1000) * 1000;
        } {
            nowDebt = nowDebt * PER;
            nowDebt = (int) Math.ceil((double) nowDebt / 1000) * 1000;
        } nowDebt = nowDebt * PER nowDebt nowDebt * PER nowDebt PER nowDebt = (int) Math.ceil((double) nowDebt / 1000) * 1000 nowDebt (int) Math.ceil((double) nowDebt / 1000) * 1000 (int) Math.ceil((double) nowDebt / 1000) Math.ceil Math (double) nowDebt / 1000 (double) nowDebt 1000 1000 return (int) nowDebt; (int) nowDebt int week week public class Main {
    static final int DEBT = 100000;
    static final double PER = 1.05;

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int week = Integer.parseInt(sc.nextLine());
        System.out.println(calcDebt(week));
    }

    private static int calcDebt(int week) {
        double nowDebt = DEBT; // ??¨??????????????????
        for (int i = 0; i < week; i++) {
            nowDebt = nowDebt * PER;
            nowDebt = (int) Math.ceil((double) nowDebt / 1000) * 1000;
        }
        return (int) nowDebt;
    }
} public class Main {
    static final int DEBT = 100000;
    static final double PER = 1.05;

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int week = Integer.parseInt(sc.nextLine());
        System.out.println(calcDebt(week));
    }

    private static int calcDebt(int week) {
        double nowDebt = DEBT; // ??¨??????????????????
        for (int i = 0; i < week; i++) {
            nowDebt = nowDebt * PER;
            nowDebt = (int) Math.ceil((double) nowDebt / 1000) * 1000;
        }
        return (int) nowDebt;
    }
} Main
import java.util.Scanner;

/**
 * 
 * @author hiranoi
 *
 *         ?????????????????§??????????????????????????°??£?????? ???????????????????\?????????? 10 ???????????????????????????????????¨??????????????????????????¨???????????????
 *         ???????\???????????????±????????¨??? 5% ???????????????????????????????????????????????? 1,000 ?????????????????????????????????
 * 
 *         ??´??° n ?????\?????????n??±???????????????????????????????????????????????°?????????????????????????????????
 *
 */
public class Main {
    static final int DEBT = 100000;
    static final double PER = 1.05;

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int week = Integer.parseInt(sc.nextLine());
        System.out.println(calcDebt(week));
    }

    private static int calcDebt(int week) {
        double nowDebt = DEBT; // ??¨??????????????????
        for (int i = 0; i < week; i++) {
            nowDebt = nowDebt * PER;
            nowDebt = (int) Math.ceil((double) nowDebt / 1000) * 1000;
        }
        return (int) nowDebt;
    }
}