import strutils, sequtils, math

var x, y, r: float
(x, y, r) = stdin.readLine.split.mapIt(it.parseFloat.abs)
echo ceil(x + y + r * sqrt(2.0)).int