-- C "Rectangle Cutting"
import Data.Bool
main = do
  [w, h, x, y] <- map read . words <$> getLine
  let (a, b) = solve w h x y
  putStrLn $ show a ++ " " ++ show b

solve w h x y = (a, b)
  where
    a = w*h / 2
    b = bool 0 1 ((w == 2*x) && (h == 2*y))