
/*
 * main.cpp
 *
 *  Created on: 2011/04/08
 *      Author: satoki
 *      4:50 ~ 5:01
 */
#include <iostream>
#include <string.h>
using namespace std;

int iN;

bool input() {
  scanf("%d", &iN);
  return true;
}

int manage() {
  int k = 100;
  int m;
  int i;
  for (i = 0; i < iN; i++) {
    m = k * 5;
    if (m % 100 != 0) m += 100;
    m /= 100;
    k += m;
  }
  return k;
}

int main() {
  input();
  printf("%d000\n", manage());
  return 0;
}