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

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

    writeln(roundup(money));
}

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