import scala.io.StdIn._
import scala.math._

object Main {
  def calDebt(n: Int, debt: Int): Int = {
    n match {
      case 0 => debt
      case _ =>
        val debtNum = (BigDecimal(debt) * 1.05).setScale(-3, BigDecimal.RoundingMode.CEILING).toInt
        calDebt(n - 1, debtNum)
    }
  }

  def main(args: Array[String]): Unit = {
    val weeks = readInt()
    println(calDebt(weeks, 100000))
  }
}