#include <iostream>
using namespace std;

int main(){

  int n,tmp;
  double debt = 100;

  cin >> n;
  while(n){
    debt *= 1.05;
    tmp = (int)debt;
    if( debt > tmp ) debt = tmp + 1;
    n--;
  }

  cout << debt*1000 << endl; 
  return 0;
}