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

    }

}
/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