#include<stdio.h>

int main(void){
  unsigned int start=100000;
  int i,j,k,n;
  scanf("%d",&n);
  for(i=0;i<n;i++){
    start/=100;
    start*=105;
    start+=999;
    start/=1000;
    start*=1000;
  }
  printf("%d\n",start);
  return 0;
}