#include <iostream>

using namespace std;

int main(){
  int n;
  while(cin >> n){
    int m = 100000;
    while(n--){
      m = m*1.05;
      m = (int)(m / 1000 + ((m % 1000)?1:0)) * 1000 ;
    }
    cout << m << endl;
  }
  return 0;
}