#include<stdio.h>

int main(){
  int i,n;
  int sum = 100000;
  scanf("%d", &n);
  for(i=0;i<n;i++){
    sum=sum*1.05;
  }
  if(sum%1000!=0)
    { sum=sum/1000;
      sum=(sum+1)*1000;
    }
  printf("%d\n", sum);

  return 0;
}