#include <iostream>
#include <cmath>
using namespace std;

int main(){
   double a = 1.05, n;
   cin >> n;
   double debt =  100000 * pow(a, n);
   int i = (int)debt / 10000 * 10000 + 10000;
   cout << i << endl;
}