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

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

  n.iota.each!((e){
      base *= p;
      base += (base % 1000) ? 1000 - base % 1000 : 0;
    });

  writeln(base);
}