#include<bits/stdc++.h>
#define rep(i,n) for(int i=0;i<n;i++)
using namespace std;
int main(){
  int n,ten1=100000,ten2;
  cin>>n;
  rep(i,n){
    ten1+=ten1/20;
  }
  ten2=ten1/1000*1000;
  if(ten1!=ten2)ten2+=1000;
  cout<<ten2<<endl;
}