#include <stdio.h>
int main(){
  int n;
  double debt=100000.0;
  scanf("%d",&n);
  while(n--){
    debt += debt*0.05;
    if(debt%1000!=0){
      debt -= debt%1000;
      debt += 1000;
    }
  }
  printf("%lf\n",debt);
  return 0;
}