#include <bits/stdc++.h>
using namespace std;

int main(void){
    int n;
    long long int ans=100000;
    cin>>n;
    for (int i=0;i<n;i++) {
        ans=ans*1.05;
        double tmp=ans%1000;
        ans-=tmp;
        tmp=tmp/1000;
        tmp=ceil(tmp);
        tmp*=1000;
        ans+=tmp;
    }
    cout<<ans<<endl;
}

