main = do
  [w, h, x, y] <- map read . words <$> getLine :: IO [Int]
  putStr . show $ fromIntegral w * (fromIntegral h) / 2
  putStr " "
  putStrLn $ if (even w && x == w `div` 2) &&
                (even h && y == h `div` 2)
             then "1"
             else "0"
