#include <iostream>
using namespace std;

int main(){
    int week = 0;
    cin >> week;
    int a = 100000;
    for(int i = week;i--;){
        a *= 1.05;
    }
    a = (int)(a * 0.0001 + 0.9) * 10000;
    cout << a << endl;
    return 0;
}