#include<iostream>
#include<string>
#include<algorithm>
#include<cstdio>
#include<cmath>
using namespace std;


int main()
{
  int n;
  cin >> n;
  double ans = 100.0;
  for(int i = 0; i < n; i++)
  {
    ans *= 1.05;
    ans = ceil(ans);
  }
  cout << (int)(ans * 1000) << endl;
  return 0;
}