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

T read(T)() { return readln.chomp.to!T; }
T[] reads(T)() { return readln.split.to!(T[]); }
alias readint = read!int;
alias readints = reads!int;

void main() {
    int n = readint;
    int ans = 100_000;
    for (int i = 0; i < n; i++) {
        ans = ans * 105 / 100;
        if (ans % 1000 > 0) {
            ans += 1000 - (ans % 1000);
        }
    }
    writeln(ans);
}

