"use strict"
function main(arg) {
    var data = arg.trim().split("\n").map(Number)
    var x = Math.max(data[0], data[1])
    for (var i = 0; ; i++) {
        if (i * x >= data[2]) {
            console.log(i)
            return
        }
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));