import java.util.Scanner;

public class Main{

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int debt = 100000;
        final int n = scanner.nextInt();

        debt = calculateDebt(debt, n);

        System.out.println(debt);
    }

    static int calculateDebt (int debt) {
        final double INTEREST = 0.05;
        final int ROUNUD_UP_MONEY = 1000;

        debt *= 1 + INTEREST;
        final int fraction = debt % ROUNUD_UP_MONEY;
        if (fraction > 0) {
            debt = debt - fraction + ROUNUD_UP_MONEY ;
        }

        return debt;
    }

    static int calculateDebt (int debt, int time) {
        for (int i = 0; i < time; i++) {
            debt = calculateDebt(debt);
        }

        return debt;
    }

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