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