#include <bits/stdc++.h>
using namespace std;
int main(){
    int n , syattukin = 100000;
    cin >> n;
    for(int i = 0; i < n ; ++i){
        syattukin = syattukin*1.05;
        if(syattukin%1000 != 0 ){
            syattukin = syattukin/1000*1000 + 1000;
        }
    }
    cout<<syattukin<<endl;
}

