import Control.Applicative main = do [x, y, r] <- map read . words <$> getLine print $ ceiling $ abs x + abs y + sqrt 2 * r