object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val n = sc.nextInt
  var num: BigInt = 100000
  for(i <- 0 until n) {
    num += num / 20
    val list = num.toString.split("")

    list(list.length-1) = "0"
    list(list.length-2) = "0"
    list(list.length-3) = "0"
    num = list.mkString.toInt
    num += 1000
  }

  println(num-1000)
}