import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

    /**
    * お金
    */
    private static final String MONEY = "100000";

    /**
    * 利子
    */
    private static final String INTEREST_RATE = "0.05";

    /**
    * @param args n週間
    */
    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int weeks = in.nextInt();

        //借金を計算します。
        int debt = calcDebt(MONEY, INTEREST_RATE, weeks);

        System.out.println(debt);
        in.close();
    }

    /**
    * n週間後の借金を計算。1000未満は切り上げる。<br>
    * @param money 借金
    * @param interestRate 利子
    * @param weeks n週間
    * @return n週間後の借金
    */
    private static int calcDebt(String money,
            String interestRate, int weeks) {

        BigDecimal debt = new BigDecimal(money);

        for(int i = 0; i < weeks; i++){
            debt  = debt.add(calcInterest(debt, INTEREST_RATE));
        }
        return debt.intValue();
    }

    static BigDecimal calcInterest(BigDecimal debt, String interestRate){
        debt = (debt).multiply(new BigDecimal(interestRate));
        return debt.setScale(-3, BigDecimal.ROUND_UP);
    }
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {

    /**
    * お金
    */
    private static final String MONEY = "100000";

    /**
    * 利子
    */
    private static final String INTEREST_RATE = "0.05";

    /**
    * @param args n週間
    */
    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int weeks = in.nextInt();

        //借金を計算します。
        int debt = calcDebt(MONEY, INTEREST_RATE, weeks);

        System.out.println(debt);
        in.close();
    }

    /**
    * n週間後の借金を計算。1000未満は切り上げる。<br>
    * @param money 借金
    * @param interestRate 利子
    * @param weeks n週間
    * @return n週間後の借金
    */
    private static int calcDebt(String money,
            String interestRate, int weeks) {

        BigDecimal debt = new BigDecimal(money);

        for(int i = 0; i < weeks; i++){
            debt  = debt.add(calcInterest(debt, INTEREST_RATE));
        }
        return debt.intValue();
    }

    static BigDecimal calcInterest(BigDecimal debt, String interestRate){
        debt = (debt).multiply(new BigDecimal(interestRate));
        return debt.setScale(-3, BigDecimal.ROUND_UP);
    }
} Main /**
    * お金
    */
    private static final String MONEY = "100000"; MONEY "100000" /**
    * 利子
    */
    private static final String INTEREST_RATE = "0.05"; INTEREST_RATE "0.05" /**
    * @param args n週間
    */
    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int weeks = in.nextInt();

        //借金を計算します。
        int debt = calcDebt(MONEY, INTEREST_RATE, weeks);

        System.out.println(debt);
        in.close();
    } main {

        Scanner in = new Scanner(System.in);
        int weeks = in.nextInt();

        //借金を計算します。
        int debt = calcDebt(MONEY, INTEREST_RATE, weeks);

        System.out.println(debt);
        in.close();
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int weeks = in.nextInt(); weeks in.nextInt() in.nextInt in int debt = calcDebt(MONEY, INTEREST_RATE, weeks); debt calcDebt(MONEY, INTEREST_RATE, weeks) calcDebt MONEY INTEREST_RATE weeks System.out.println(debt) System.out.println System.out System System.out debt in.close() in.close in String[] args args /**
    * n週間後の借金を計算。1000未満は切り上げる。<br>
    * @param money 借金
    * @param interestRate 利子
    * @param weeks n週間
    * @return n週間後の借金
    */
    private static int calcDebt(String money,
            String interestRate, int weeks) {

        BigDecimal debt = new BigDecimal(money);

        for(int i = 0; i < weeks; i++){
            debt  = debt.add(calcInterest(debt, INTEREST_RATE));
        }
        return debt.intValue();
    } calcDebt {

        BigDecimal debt = new BigDecimal(money);

        for(int i = 0; i < weeks; i++){
            debt  = debt.add(calcInterest(debt, INTEREST_RATE));
        }
        return debt.intValue();
    } BigDecimal debt = new BigDecimal(money); debt new BigDecimal(money) for(int i = 0; i < weeks; i++){
            debt  = debt.add(calcInterest(debt, INTEREST_RATE));
        } int i = 0; int i = 0; i 0 i < weeks i weeks i++ i++ i {
            debt  = debt.add(calcInterest(debt, INTEREST_RATE));
        } {
            debt  = debt.add(calcInterest(debt, INTEREST_RATE));
        } debt  = debt.add(calcInterest(debt, INTEREST_RATE)) debt debt.add(calcInterest(debt, INTEREST_RATE)) debt.add debt calcInterest(debt, INTEREST_RATE) calcInterest debt INTEREST_RATE return debt.intValue(); debt.intValue() debt.intValue debt String money money String interestRate interestRate int weeks weeks static BigDecimal calcInterest(BigDecimal debt, String interestRate){
        debt = (debt).multiply(new BigDecimal(interestRate));
        return debt.setScale(-3, BigDecimal.ROUND_UP);
    } calcInterest {
        debt = (debt).multiply(new BigDecimal(interestRate));
        return debt.setScale(-3, BigDecimal.ROUND_UP);
    } debt = (debt).multiply(new BigDecimal(interestRate)) debt (debt).multiply(new BigDecimal(interestRate)) (debt).multiply (debt) new BigDecimal(interestRate) return debt.setScale(-3, BigDecimal.ROUND_UP); debt.setScale(-3, BigDecimal.ROUND_UP) debt.setScale debt -3 3 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP BigDecimal debt debt String interestRate interestRate public class Main {

    /**
    * お金
    */
    private static final String MONEY = "100000";

    /**
    * 利子
    */
    private static final String INTEREST_RATE = "0.05";

    /**
    * @param args n週間
    */
    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int weeks = in.nextInt();

        //借金を計算します。
        int debt = calcDebt(MONEY, INTEREST_RATE, weeks);

        System.out.println(debt);
        in.close();
    }

    /**
    * n週間後の借金を計算。1000未満は切り上げる。<br>
    * @param money 借金
    * @param interestRate 利子
    * @param weeks n週間
    * @return n週間後の借金
    */
    private static int calcDebt(String money,
            String interestRate, int weeks) {

        BigDecimal debt = new BigDecimal(money);

        for(int i = 0; i < weeks; i++){
            debt  = debt.add(calcInterest(debt, INTEREST_RATE));
        }
        return debt.intValue();
    }

    static BigDecimal calcInterest(BigDecimal debt, String interestRate){
        debt = (debt).multiply(new BigDecimal(interestRate));
        return debt.setScale(-3, BigDecimal.ROUND_UP);
    }
} public class Main {

    /**
    * お金
    */
    private static final String MONEY = "100000";

    /**
    * 利子
    */
    private static final String INTEREST_RATE = "0.05";

    /**
    * @param args n週間
    */
    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int weeks = in.nextInt();

        //借金を計算します。
        int debt = calcDebt(MONEY, INTEREST_RATE, weeks);

        System.out.println(debt);
        in.close();
    }

    /**
    * n週間後の借金を計算。1000未満は切り上げる。<br>
    * @param money 借金
    * @param interestRate 利子
    * @param weeks n週間
    * @return n週間後の借金
    */
    private static int calcDebt(String money,
            String interestRate, int weeks) {

        BigDecimal debt = new BigDecimal(money);

        for(int i = 0; i < weeks; i++){
            debt  = debt.add(calcInterest(debt, INTEREST_RATE));
        }
        return debt.intValue();
    }

    static BigDecimal calcInterest(BigDecimal debt, String interestRate){
        debt = (debt).multiply(new BigDecimal(interestRate));
        return debt.setScale(-3, BigDecimal.ROUND_UP);
    }
} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

    /**
    * お金
    */
    private static final String MONEY = "100000";

    /**
    * 利子
    */
    private static final String INTEREST_RATE = "0.05";

    /**
    * @param args n週間
    */
    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int weeks = in.nextInt();

        //借金を計算します。
        int debt = calcDebt(MONEY, INTEREST_RATE, weeks);

        System.out.println(debt);
        in.close();
    }

    /**
    * n週間後の借金を計算。1000未満は切り上げる。<br>
    * @param money 借金
    * @param interestRate 利子
    * @param weeks n週間
    * @return n週間後の借金
    */
    private static int calcDebt(String money,
            String interestRate, int weeks) {

        BigDecimal debt = new BigDecimal(money);

        for(int i = 0; i < weeks; i++){
            debt  = debt.add(calcInterest(debt, INTEREST_RATE));
        }
        return debt.intValue();
    }

    static BigDecimal calcInterest(BigDecimal debt, String interestRate){
        debt = (debt).multiply(new BigDecimal(interestRate));
        return debt.setScale(-3, BigDecimal.ROUND_UP);
    }
}