object Main extends App {
  val src = io.Source.stdin.getLines.next.toInt

  def addInterest(w: Int, org: Int): Int = {
    if (w == 0) org
    else addInterest(w - 1, (org*1.05).ceil.toInt)
  }

  println(addInterest(src, 100)*1000)
}