import std.stdio;
import std.string;
import std.conv;

ulong debt(ulong x, int n) {
  if(n > 0) {
    ulong m = x * 105 / 100;
    if(m % 1000 > 0) m = (m / 1000 + 1) * 1000;

    return debt(m, n - 1);
  }
  else return x;
}

void main() {
  int n = to!int(chomp(readln()));

  writeln(debt(100000, n));
}