'use strict'

function Main(input) {
  const W = Number(input.split(" ")[0])
  const H = Number(input.split(" ")[1])
  const x = Number(input.split(" ")[2])
  const y = Number(input.split(" ")[3])
  const area = W * H

  let ok = 0
  if(x === W / 2 && y === H / 2) {
    ok = 1
  }

  console.log(area / 2, ok)
}

Main(require("fs").readFileSync("/dev/stdin", "utf8").trim())