import qualified Data.Text as T
import qualified Data.Text.IO as T
import qualified Data.Text.Read as T

main :: IO ()
main = do
  (w : h : x : y : _) <- map unsafeSignedDecimal . T.words <$> T.getLine :: IO [Int]
  putStrLn $ show (fromRational $ toRational (w * h) / toRational 2) ++ " " ++ (if w == 2 * x && h == 2 * y then "1" else "0")

unsafeSignedDecimal :: T.Text -> Int
unsafeSignedDecimal s = case T.signed T.decimal s of
  Right (n, _) -> n
