#include<iostream>
#include<math.h>
using namespace std;

int main(void){
    int n;
    double ans;
    cin >> n;
    ans=100*pow(1.05,n);
    if((ans-int(ans))>0.0) ans++;
    ans*=1000;
    ans = int(ans);
    cout << ans << endl;
    return 0;
}