#include <iostream>

int main(){
        int n;
        std::cin >> n;
        double result=100;
        for(int i=n;i;i--){
                result*=1.05;
                result=(int)(result+0.9);
        }

        result*=1000;
        std::cout << (int)result << std::endl;

        return 0;
}