function Main (input) {
  input = input.split("\n").map(inp => parseInt(inp, 10));
  console.log(Math.ceil(input[2] / Math.max(input[0], input[1])));
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));