[<AutoOpen>]
module Program

open System

let read f = stdin.ReadLine() |> f
let reada f = stdin.ReadLine().Split() |> Array.map f
let reads f = stdin.ReadLine().Split() |> Array.toList |> List.map f

[<EntryPoint>]
let main _ =
    let [w;h;x;y] = reads float
    let mx = w / 2.0
    let my = h / 2.0
    let s = w * h / 2.0
    let t = if (x, y) = (mx, my) then 1 else 0
    printfn "%.10f %i" s t
    0