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