#include <iostream>

#include <math.h>

int main(int argc, char** argv)
{
  int n;

  std::cin >> n;

  int x = 100000;

  for (int i = 0; i < n; i ++)
    x = round(x * 1.05 / 1000) * 1000;
  
  std::cout << x << std::endl;
}