#include<iostream>
using namespace std;
int main() {
  int n;
  cin>>n;
  int m=100000;
  for(int i=0;i<n;i++)
    m*=1.05;
  if((m%10000)!=0) {
    m/=10000;
    m*=10000;
    m+=10000;
  }
  cout<<m<<endl;
  return 0;
}

