#include<iostream>
#include<string>
#include<vector>
#include<deque>
using namespace std;

int main() {

    int n;
    long debt = 100;
    cin >> n;

    for(int i = 1; i <= n; i++) {
        int r = 0;
        if (debt % 20) {    r = 1;  }

        debt = debt * 1.05 + r;
    }

    cout << debt << "000" << endl;
     
    return 0;
}