fun main(args: Array<String>) {
    val H = nextDouble()
    val W = nextDouble()
    val N = nextDouble()
    val M = Math.max(H, W)
    println(Math.ceil(N / M).toInt())
}
fun next() = readLine()!!
fun nextDouble() = next().toDouble()