#include<iostream>
using namespace std;

int main(){
    int n, a = 100000, b = 105;
    cin >> n;
    for(int i = 0;i < n;i++){
      a *= b;
      a /= 100; 
    }
    a /= 1000;
    a *= 1000;
    cout << a + 10000 << endl;
    }