#include<stdio.h>

int main(){
  float money = 100.0f;
  const float RATE = 0.05f;
  int week;

  scanf("%d",&week);
  for(int i = 0;i < week;i++){
    money += money*RATE;
    if(money*1000.0f - (int)money*1000 > 0){
      money = (int)money + 1.0f;
    }
  }

  printf("%d\n",(int)money*1000);
  
return 0;
}