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

void main(){
  long base = 100000;
  real p = 1.05;
  int n = readln.chomp.to!int;

  n.iota.each!(e => base *= p);

  base = cast(long)(ceil(cast(real)base / 10000) * 10000);
  writeln(base);
}