#include <iostream>
#include <math.h>
using namespace std;
int main(void){
   int a;
   float b = 100000.0f;
   std::cin >> a;
   
   if(a == 0) std::cout << b << std::endl;
   
   else if(a <= 100 && a >= 0){
       for(int i = 0; i < a; i++){
           b *= 1.05f;
           b /= 1000;
           double c = ceil(b);
           b = c * 1000;
       }
       std::cout << b << std::endl;
   }
}