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());
    }

}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz