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

public class Main {
    // 初期の借金
    private static final BigDecimal DEBT_FIRST = new BigDecimal("100000");

    // 1週間当たりの利率
    private static final BigDecimal INTEREST_PERCENTAGE_PER_WEEK = new BigDecimal(
            "1.05");

    public static void main(String[] args) {
        try {
            // input
            BufferedReader br = new BufferedReader(new InputStreamReader(
                    System.in));

            int weeksAfter = Integer.valueOf(br.readLine());
            BigDecimal debtAfter = DEBT_FIRST;
            for (int i = 1; i <= weeksAfter; i++) {
                // 利息をかけて1000円単位で切り上げる
                debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP);
            }

            System.out.println(debtAfter.toPlainString());
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(0);
        }

    }

} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math public class Main {
    // 初期の借金
    private static final BigDecimal DEBT_FIRST = new BigDecimal("100000");

    // 1週間当たりの利率
    private static final BigDecimal INTEREST_PERCENTAGE_PER_WEEK = new BigDecimal(
            "1.05");

    public static void main(String[] args) {
        try {
            // input
            BufferedReader br = new BufferedReader(new InputStreamReader(
                    System.in));

            int weeksAfter = Integer.valueOf(br.readLine());
            BigDecimal debtAfter = DEBT_FIRST;
            for (int i = 1; i <= weeksAfter; i++) {
                // 利息をかけて1000円単位で切り上げる
                debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP);
            }

            System.out.println(debtAfter.toPlainString());
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(0);
        }

    }

} Main // 初期の借金
    private static final BigDecimal DEBT_FIRST = new BigDecimal("100000"); DEBT_FIRST new BigDecimal("100000") // 1週間当たりの利率
    private static final BigDecimal INTEREST_PERCENTAGE_PER_WEEK = new BigDecimal(
            "1.05"); INTEREST_PERCENTAGE_PER_WEEK new BigDecimal(
            "1.05") public static void main(String[] args) {
        try {
            // input
            BufferedReader br = new BufferedReader(new InputStreamReader(
                    System.in));

            int weeksAfter = Integer.valueOf(br.readLine());
            BigDecimal debtAfter = DEBT_FIRST;
            for (int i = 1; i <= weeksAfter; i++) {
                // 利息をかけて1000円単位で切り上げる
                debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP);
            }

            System.out.println(debtAfter.toPlainString());
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(0);
        }

    } main {
        try {
            // input
            BufferedReader br = new BufferedReader(new InputStreamReader(
                    System.in));

            int weeksAfter = Integer.valueOf(br.readLine());
            BigDecimal debtAfter = DEBT_FIRST;
            for (int i = 1; i <= weeksAfter; i++) {
                // 利息をかけて1000円単位で切り上げる
                debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP);
            }

            System.out.println(debtAfter.toPlainString());
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(0);
        }

    } try {
            // input
            BufferedReader br = new BufferedReader(new InputStreamReader(
                    System.in));

            int weeksAfter = Integer.valueOf(br.readLine());
            BigDecimal debtAfter = DEBT_FIRST;
            for (int i = 1; i <= weeksAfter; i++) {
                // 利息をかけて1000円単位で切り上げる
                debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP);
            }

            System.out.println(debtAfter.toPlainString());
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(0);
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(0);
        } Exception e {
            e.printStackTrace();
            System.exit(0);
        } e.printStackTrace() e.printStackTrace e System.exit(0) System.exit System 0 {
            // input
            BufferedReader br = new BufferedReader(new InputStreamReader(
                    System.in));

            int weeksAfter = Integer.valueOf(br.readLine());
            BigDecimal debtAfter = DEBT_FIRST;
            for (int i = 1; i <= weeksAfter; i++) {
                // 利息をかけて1000円単位で切り上げる
                debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP);
            }

            System.out.println(debtAfter.toPlainString());
        } BufferedReader br = new BufferedReader(new InputStreamReader(
                    System.in)); br new BufferedReader(new InputStreamReader(
                    System.in)) int weeksAfter = Integer.valueOf(br.readLine()); weeksAfter Integer.valueOf(br.readLine()) Integer.valueOf Integer br.readLine() br.readLine br BigDecimal debtAfter = DEBT_FIRST; debtAfter DEBT_FIRST for (int i = 1; i <= weeksAfter; i++) {
                // 利息をかけて1000円単位で切り上げる
                debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP);
            } int i = 1; int i = 1; i 1 i <= weeksAfter i weeksAfter i++ i++ i {
                // 利息をかけて1000円単位で切り上げる
                debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP);
            } {
                // 利息をかけて1000円単位で切り上げる
                debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP);
            } debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP) debtAfter debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP) debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK) debtAfter.multiply debtAfter INTEREST_PERCENTAGE_PER_WEEK -3 3 RoundingMode.UP RoundingMode RoundingMode.UP System.out.println(debtAfter.toPlainString()) System.out.println System.out System System.out debtAfter.toPlainString() debtAfter.toPlainString debtAfter String[] args args public class Main {
    // 初期の借金
    private static final BigDecimal DEBT_FIRST = new BigDecimal("100000");

    // 1週間当たりの利率
    private static final BigDecimal INTEREST_PERCENTAGE_PER_WEEK = new BigDecimal(
            "1.05");

    public static void main(String[] args) {
        try {
            // input
            BufferedReader br = new BufferedReader(new InputStreamReader(
                    System.in));

            int weeksAfter = Integer.valueOf(br.readLine());
            BigDecimal debtAfter = DEBT_FIRST;
            for (int i = 1; i <= weeksAfter; i++) {
                // 利息をかけて1000円単位で切り上げる
                debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP);
            }

            System.out.println(debtAfter.toPlainString());
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(0);
        }

    }

} public class Main {
    // 初期の借金
    private static final BigDecimal DEBT_FIRST = new BigDecimal("100000");

    // 1週間当たりの利率
    private static final BigDecimal INTEREST_PERCENTAGE_PER_WEEK = new BigDecimal(
            "1.05");

    public static void main(String[] args) {
        try {
            // input
            BufferedReader br = new BufferedReader(new InputStreamReader(
                    System.in));

            int weeksAfter = Integer.valueOf(br.readLine());
            BigDecimal debtAfter = DEBT_FIRST;
            for (int i = 1; i <= weeksAfter; i++) {
                // 利息をかけて1000円単位で切り上げる
                debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP);
            }

            System.out.println(debtAfter.toPlainString());
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(0);
        }

    }

} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.math.RoundingMode;

public class Main {
    // 初期の借金
    private static final BigDecimal DEBT_FIRST = new BigDecimal("100000");

    // 1週間当たりの利率
    private static final BigDecimal INTEREST_PERCENTAGE_PER_WEEK = new BigDecimal(
            "1.05");

    public static void main(String[] args) {
        try {
            // input
            BufferedReader br = new BufferedReader(new InputStreamReader(
                    System.in));

            int weeksAfter = Integer.valueOf(br.readLine());
            BigDecimal debtAfter = DEBT_FIRST;
            for (int i = 1; i <= weeksAfter; i++) {
                // 利息をかけて1000円単位で切り上げる
                debtAfter = debtAfter.multiply(INTEREST_PERCENTAGE_PER_WEEK)
                        .setScale(-3, RoundingMode.UP);
            }

            System.out.println(debtAfter.toPlainString());
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(0);
        }

    }

}