#include <iostream>

using namespace std;

static const int ROUND = 10000;

int weeks;
double loan = 100000;
int temp;

int main(){
  scanf("%d", &weeks);
  while (weeks != 0){
      loan = loan *1.05;
      temp = loan/ROUND;
      loan = (temp+1) * ROUND;
      weeks--;
  }
 cout << loan << endl;
 return 0;   
}