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

int main(){
  int debt = 10000, n;
  cin >> n;
  while(n--){
  	debt = debt * 105 / 100;
  }
  int result = debt / 1000;
  if(debt % 1000 > 0)
  	result++;
  result *= 1000;
  cout << result << endl;
}