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

public class Main {

    private static final double TAX = 1.05;

    /**
     * <p> [??????] n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????n ??? 100 ??\??????</p>
     * <p> [??¬???] ???????????????</p>
     * <p> [??????] ???????????????</p>
     * @param args
     * @throws IOException
     */
    public static void main(String[] args) throws IOException {

        String week = new BufferedReader(new InputStreamReader(System.in)).readLine();

        double totalAmount = 100000;
        BigDecimal returnAmount = new BigDecimal(totalAmount);
        int i = Integer.parseInt(week);

        // ??\??????????????°???????????????????¢?????????????
        for (int count = 0; count < i; count++) {
            returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);
            totalAmount = returnAmount.doubleValue();
        }
        // ???????????????????????????
        System.out.println(returnAmount.intValue());
    }

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.math.BigDecimal; BigDecimal java.math public class Main {

    private static final double TAX = 1.05;

    /**
     * <p> [??????] n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????n ??? 100 ??\??????</p>
     * <p> [??¬???] ???????????????</p>
     * <p> [??????] ???????????????</p>
     * @param args
     * @throws IOException
     */
    public static void main(String[] args) throws IOException {

        String week = new BufferedReader(new InputStreamReader(System.in)).readLine();

        double totalAmount = 100000;
        BigDecimal returnAmount = new BigDecimal(totalAmount);
        int i = Integer.parseInt(week);

        // ??\??????????????°???????????????????¢?????????????
        for (int count = 0; count < i; count++) {
            returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);
            totalAmount = returnAmount.doubleValue();
        }
        // ???????????????????????????
        System.out.println(returnAmount.intValue());
    }

} Main private static final double TAX = 1.05; TAX 1.05 /**
     * <p> [??????] n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????n ??? 100 ??\??????</p>
     * <p> [??¬???] ???????????????</p>
     * <p> [??????] ???????????????</p>
     * @param args
     * @throws IOException
     */
    public static void main(String[] args) throws IOException {

        String week = new BufferedReader(new InputStreamReader(System.in)).readLine();

        double totalAmount = 100000;
        BigDecimal returnAmount = new BigDecimal(totalAmount);
        int i = Integer.parseInt(week);

        // ??\??????????????°???????????????????¢?????????????
        for (int count = 0; count < i; count++) {
            returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);
            totalAmount = returnAmount.doubleValue();
        }
        // ???????????????????????????
        System.out.println(returnAmount.intValue());
    } main {

        String week = new BufferedReader(new InputStreamReader(System.in)).readLine();

        double totalAmount = 100000;
        BigDecimal returnAmount = new BigDecimal(totalAmount);
        int i = Integer.parseInt(week);

        // ??\??????????????°???????????????????¢?????????????
        for (int count = 0; count < i; count++) {
            returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);
            totalAmount = returnAmount.doubleValue();
        }
        // ???????????????????????????
        System.out.println(returnAmount.intValue());
    } String week = new BufferedReader(new InputStreamReader(System.in)).readLine(); week new BufferedReader(new InputStreamReader(System.in)).readLine() new BufferedReader(new InputStreamReader(System.in)).readLine new BufferedReader(new InputStreamReader(System.in)) double totalAmount = 100000; totalAmount 100000 BigDecimal returnAmount = new BigDecimal(totalAmount); returnAmount new BigDecimal(totalAmount) int i = Integer.parseInt(week); i Integer.parseInt(week) Integer.parseInt Integer week for (int count = 0; count < i; count++) {
            returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);
            totalAmount = returnAmount.doubleValue();
        } int count = 0; int count = 0; count 0 count < i count i count++ count++ count {
            returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);
            totalAmount = returnAmount.doubleValue();
        } {
            returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);
            totalAmount = returnAmount.doubleValue();
        } returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP) returnAmount new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP) new BigDecimal(totalAmount * TAX).setScale new BigDecimal(totalAmount * TAX) -3 3 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP totalAmount = returnAmount.doubleValue() totalAmount returnAmount.doubleValue() returnAmount.doubleValue returnAmount System.out.println(returnAmount.intValue()) System.out.println System.out System System.out returnAmount.intValue() returnAmount.intValue returnAmount String[] args args public class Main {

    private static final double TAX = 1.05;

    /**
     * <p> [??????] n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????n ??? 100 ??\??????</p>
     * <p> [??¬???] ???????????????</p>
     * <p> [??????] ???????????????</p>
     * @param args
     * @throws IOException
     */
    public static void main(String[] args) throws IOException {

        String week = new BufferedReader(new InputStreamReader(System.in)).readLine();

        double totalAmount = 100000;
        BigDecimal returnAmount = new BigDecimal(totalAmount);
        int i = Integer.parseInt(week);

        // ??\??????????????°???????????????????¢?????????????
        for (int count = 0; count < i; count++) {
            returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);
            totalAmount = returnAmount.doubleValue();
        }
        // ???????????????????????????
        System.out.println(returnAmount.intValue());
    }

} public class Main {

    private static final double TAX = 1.05;

    /**
     * <p> [??????] n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????n ??? 100 ??\??????</p>
     * <p> [??¬???] ???????????????</p>
     * <p> [??????] ???????????????</p>
     * @param args
     * @throws IOException
     */
    public static void main(String[] args) throws IOException {

        String week = new BufferedReader(new InputStreamReader(System.in)).readLine();

        double totalAmount = 100000;
        BigDecimal returnAmount = new BigDecimal(totalAmount);
        int i = Integer.parseInt(week);

        // ??\??????????????°???????????????????¢?????????????
        for (int count = 0; count < i; count++) {
            returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);
            totalAmount = returnAmount.doubleValue();
        }
        // ???????????????????????????
        System.out.println(returnAmount.intValue());
    }

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

public class Main {

    private static final double TAX = 1.05;

    /**
     * <p> [??????] n ?????\???????????¨??????n ??±????????????????????????????????????????????????????????°?????????n ??? 100 ??\??????</p>
     * <p> [??¬???] ???????????????</p>
     * <p> [??????] ???????????????</p>
     * @param args
     * @throws IOException
     */
    public static void main(String[] args) throws IOException {

        String week = new BufferedReader(new InputStreamReader(System.in)).readLine();

        double totalAmount = 100000;
        BigDecimal returnAmount = new BigDecimal(totalAmount);
        int i = Integer.parseInt(week);

        // ??\??????????????°???????????????????¢?????????????
        for (int count = 0; count < i; count++) {
            returnAmount = new BigDecimal(totalAmount * TAX).setScale(-3, BigDecimal.ROUND_UP);
            totalAmount = returnAmount.doubleValue();
        }
        // ???????????????????????????
        System.out.println(returnAmount.intValue());
    }

}