#include<iostream>
#include<cmath>

#define N 100000

using namespace std;

int main(void){

  long int debt = 0;

  int n;
  cin >> n;

  debt = pow(1.05,n) * N;

  debt = (debt / 10000 +1) * 10000;

  cout << debt << endl;


  return 0;
}