#include<iostream>
#include<cstdio>
using namespace std;
int main(){
  int n;
  double ans=100000;
  cin>>n;
  for(int i=0;i<n;i++){
   ans=ans+ans*0.05;
   ans+=900;
   ans=(int)ans/1000;
   ans=ans*1000;
  }
  cout<<(int)ans<<endl;
}