object Main {
  def main(args: Array[String]): Unit = {
    val sc = new java.util.Scanner(System.in)
    val h = sc.nextInt()
    val w = sc.nextInt()
    val n = sc.nextInt()

    val max = if (h < w) w else h
    val ans = Math.ceil(n.toDouble / max.toDouble).toInt

    println(s"$ans")
  }
}
