import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;

public class Main {

    public static void main(String[] args) throws Exception {
        //?????????
        final BigDecimal TAX_RATE = new BigDecimal("0.05");
        //?????°?????????????????????????????¨??????
        final int ROUND_UP_FRACTION = 1000;
        //???????????????????????????10???
        int deptLeft = 100000;

        BufferedReader reader = new BufferedReader(new InputStreamReader(
                System.in));
        int countWeeks = Integer.parseInt(reader.readLine());
        //1??±??????????????¨??????????????????????????????????????????????¨??????????
        for (int count = 1; count <= countWeeks; count++) {
            deptLeft = BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue();
            //1000?????????????????????????????????
            if (deptLeft % ROUND_UP_FRACTION != 0) {
                deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);
            }
        }
        System.out.println(deptLeft);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.math.BigDecimal; BigDecimal java.math public class Main {

    public static void main(String[] args) throws Exception {
        //?????????
        final BigDecimal TAX_RATE = new BigDecimal("0.05");
        //?????°?????????????????????????????¨??????
        final int ROUND_UP_FRACTION = 1000;
        //???????????????????????????10???
        int deptLeft = 100000;

        BufferedReader reader = new BufferedReader(new InputStreamReader(
                System.in));
        int countWeeks = Integer.parseInt(reader.readLine());
        //1??±??????????????¨??????????????????????????????????????????????¨??????????
        for (int count = 1; count <= countWeeks; count++) {
            deptLeft = BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue();
            //1000?????????????????????????????????
            if (deptLeft % ROUND_UP_FRACTION != 0) {
                deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);
            }
        }
        System.out.println(deptLeft);
    }
} Main public static void main(String[] args) throws Exception {
        //?????????
        final BigDecimal TAX_RATE = new BigDecimal("0.05");
        //?????°?????????????????????????????¨??????
        final int ROUND_UP_FRACTION = 1000;
        //???????????????????????????10???
        int deptLeft = 100000;

        BufferedReader reader = new BufferedReader(new InputStreamReader(
                System.in));
        int countWeeks = Integer.parseInt(reader.readLine());
        //1??±??????????????¨??????????????????????????????????????????????¨??????????
        for (int count = 1; count <= countWeeks; count++) {
            deptLeft = BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue();
            //1000?????????????????????????????????
            if (deptLeft % ROUND_UP_FRACTION != 0) {
                deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);
            }
        }
        System.out.println(deptLeft);
    } main {
        //?????????
        final BigDecimal TAX_RATE = new BigDecimal("0.05");
        //?????°?????????????????????????????¨??????
        final int ROUND_UP_FRACTION = 1000;
        //???????????????????????????10???
        int deptLeft = 100000;

        BufferedReader reader = new BufferedReader(new InputStreamReader(
                System.in));
        int countWeeks = Integer.parseInt(reader.readLine());
        //1??±??????????????¨??????????????????????????????????????????????¨??????????
        for (int count = 1; count <= countWeeks; count++) {
            deptLeft = BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue();
            //1000?????????????????????????????????
            if (deptLeft % ROUND_UP_FRACTION != 0) {
                deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);
            }
        }
        System.out.println(deptLeft);
    } final BigDecimal TAX_RATE = new BigDecimal("0.05"); TAX_RATE new BigDecimal("0.05") final int ROUND_UP_FRACTION = 1000; ROUND_UP_FRACTION 1000 int deptLeft = 100000; deptLeft 100000 BufferedReader reader = new BufferedReader(new InputStreamReader(
                System.in)); reader new BufferedReader(new InputStreamReader(
                System.in)) int countWeeks = Integer.parseInt(reader.readLine()); countWeeks Integer.parseInt(reader.readLine()) Integer.parseInt Integer reader.readLine() reader.readLine reader for (int count = 1; count <= countWeeks; count++) {
            deptLeft = BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue();
            //1000?????????????????????????????????
            if (deptLeft % ROUND_UP_FRACTION != 0) {
                deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);
            }
        } int count = 1; int count = 1; count 1 count <= countWeeks count countWeeks count++ count++ count {
            deptLeft = BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue();
            //1000?????????????????????????????????
            if (deptLeft % ROUND_UP_FRACTION != 0) {
                deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);
            }
        } {
            deptLeft = BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue();
            //1000?????????????????????????????????
            if (deptLeft % ROUND_UP_FRACTION != 0) {
                deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);
            }
        } deptLeft = BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue() deptLeft BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue() BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE)) BigDecimal.valueOf(deptLeft)
                    .add BigDecimal.valueOf(deptLeft) BigDecimal.valueOf BigDecimal deptLeft BigDecimal.valueOf(deptLeft).multiply(TAX_RATE) BigDecimal.valueOf(deptLeft).multiply BigDecimal.valueOf(deptLeft) BigDecimal.valueOf BigDecimal deptLeft TAX_RATE if (deptLeft % ROUND_UP_FRACTION != 0) {
                deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);
            } deptLeft % ROUND_UP_FRACTION != 0 deptLeft % ROUND_UP_FRACTION deptLeft ROUND_UP_FRACTION 0 {
                deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);
            } deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION) deptLeft deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION) deptLeft (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION) ROUND_UP_FRACTION deptLeft % ROUND_UP_FRACTION deptLeft ROUND_UP_FRACTION System.out.println(deptLeft) System.out.println System.out System System.out deptLeft String[] args args public class Main {

    public static void main(String[] args) throws Exception {
        //?????????
        final BigDecimal TAX_RATE = new BigDecimal("0.05");
        //?????°?????????????????????????????¨??????
        final int ROUND_UP_FRACTION = 1000;
        //???????????????????????????10???
        int deptLeft = 100000;

        BufferedReader reader = new BufferedReader(new InputStreamReader(
                System.in));
        int countWeeks = Integer.parseInt(reader.readLine());
        //1??±??????????????¨??????????????????????????????????????????????¨??????????
        for (int count = 1; count <= countWeeks; count++) {
            deptLeft = BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue();
            //1000?????????????????????????????????
            if (deptLeft % ROUND_UP_FRACTION != 0) {
                deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);
            }
        }
        System.out.println(deptLeft);
    }
} public class Main {

    public static void main(String[] args) throws Exception {
        //?????????
        final BigDecimal TAX_RATE = new BigDecimal("0.05");
        //?????°?????????????????????????????¨??????
        final int ROUND_UP_FRACTION = 1000;
        //???????????????????????????10???
        int deptLeft = 100000;

        BufferedReader reader = new BufferedReader(new InputStreamReader(
                System.in));
        int countWeeks = Integer.parseInt(reader.readLine());
        //1??±??????????????¨??????????????????????????????????????????????¨??????????
        for (int count = 1; count <= countWeeks; count++) {
            deptLeft = BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue();
            //1000?????????????????????????????????
            if (deptLeft % ROUND_UP_FRACTION != 0) {
                deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);
            }
        }
        System.out.println(deptLeft);
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;

public class Main {

    public static void main(String[] args) throws Exception {
        //?????????
        final BigDecimal TAX_RATE = new BigDecimal("0.05");
        //?????°?????????????????????????????¨??????
        final int ROUND_UP_FRACTION = 1000;
        //???????????????????????????10???
        int deptLeft = 100000;

        BufferedReader reader = new BufferedReader(new InputStreamReader(
                System.in));
        int countWeeks = Integer.parseInt(reader.readLine());
        //1??±??????????????¨??????????????????????????????????????????????¨??????????
        for (int count = 1; count <= countWeeks; count++) {
            deptLeft = BigDecimal.valueOf(deptLeft)
                    .add(BigDecimal.valueOf(deptLeft).multiply(TAX_RATE))
                    .intValue();
            //1000?????????????????????????????????
            if (deptLeft % ROUND_UP_FRACTION != 0) {
                deptLeft = deptLeft
                        + (ROUND_UP_FRACTION - deptLeft % ROUND_UP_FRACTION);
            }
        }
        System.out.println(deptLeft);
    }
}