#include <iostream>

int main()
{
    int n;
    int debt = 100000;

    std::cin >> n;

    for (int i = 0; i < n; i++) {
        debt = 1000 * int(debt * 1.05 * 0.001 + 0.9);
    }

    std::cout << debt << std::endl;
}