#include <cstdio>
 
using namespace std;
 
int main() {
 int n = 0;
 double N = 0;
 int M = 100;
 int L = 100;
 scanf("%d", &n);
 for (int i = 0; i < n; i++) {
  N = L;
  N = M;
  N *= 1.05;
  N -= M;
  L += N;
 
  while (N> 1){
    N -= 1;
  }
 
  if (N > 0) {
    L += 1;
   }
}
 
L *= 1000;
printf("%d", L);
 
return 0;
}