import std.stdio,std.conv,std.string,std.math;

void main(){
    char[] buf;
    stdin.readln(buf);
    double x = buf.chomp().to!double();
    double money = 100000;
    if(0 <= x && x <= 100){
        for(int i = 0;i < x;i++){
            money *= 1.05;
            money = roundup(money);
        }
    }

    writeln(money);
}

int roundup(double x){
    int result = 0;
    result = ceil(x/10000).to!int();
    return result * 10000;
}