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

int main() {
    int n;
    cin >> n;
    double Kdebt = 100;
    for (int i = 0; i < n; i++) {
        Kdebt = ceil(Kdebt * 1.05);
    }
    printf("%d\n", (int)Kdebt * 1000);
}