#include<iostream>
#include<cstdio>
#include<cmath>

int main(){
  int n;
  double ans;
  double check;

  scanf("%d",&n);
  ans = 100000;
  for(int i=0;i<n;i++){
  ans = ans*1.05;
  }

  check = ceil(ans / 10000);
  ans = check*10000;

  printf("%d\n",int(ans));
  return 0;
}