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

int main() {
  int n;
  int m = 100000;

  while(n--) {
    m = ceil(m*1.05/1000)*1000;
  }
  cout << m << endl;
  
  return 0;
}