import std.stdio, std.string, std.conv, std.algorithm;
import std.range, std.array, std.math, std.typecons;

immutable int inf = 10^^9 + 7;

int n;

void main() {
    scan(n);

    long ans = 10L^^5;

    foreach (i ; 0 .. n) {
        ans = (ans * 105) / 100;
        ans = ((ans + 999) / 1000) * 1000;
    }

    writeln(ans);
}


void scan(T...)(ref T args) {
    auto line = readln.split;
    foreach (ref arg ; args) {
        arg = line.front.to!(typeof(arg));
        line.popFront();
    }
    assert(line.empty);
}