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