{-# LANGUAGE TypeApplications #-}
import Control.Monad
import Data.List
import Data.Maybe
import Text.Printf

main = do
  [w, h, x, y] <- mapM (readIO @Double) . words =<< getLine
  let ans1 = h * w / 2.0
      ans2 = if w / 2.0 == x && h / 2.0 == y then 1 :: Integer else 0 :: Integer
  printf "%.9f %d" ans1 ans2