'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

  const horizontal = Math.min(W * y, W * (H - y))
  const vertical = Math.min(H * x, H * (W - x))

  const diagonal1_3 = W * (y + (y /(W - x))) / 2
  const diagonal1_4 = area - diagonal1_3
  const diagonal1 = Math.min(diagonal1_3, diagonal1_4)

  const diagonal2_3 = W * (H - y + ((H - y) * x/(W - x))) / 2
  const diagonal2_4 = area - diagonal2_3
  const diagonal2 = Math.min(diagonal2_3, diagonal2_4)

  const diagonal3_1 = H * (-H * x / (y - H)) / 2
  const diagonal3_2 = area - diagonal3_1
  const diagonal3 = Math.min(diagonal3_1, diagonal3_2)

  const diagonal4_1 = H * H * x / y / 2
  const diagonal4_2 = area - diagonal4_1
  const diagonal4 = Math.min(diagonal4_1, diagonal4_2)

  const list = [horizontal, vertical, diagonal1, diagonal2, diagonal3, diagonal4]
  const ans1 = Math.max(...list)
  
  const dup = list.filter(x => x === ans1)
  const ans2 = dup.length > 1 ? 1 : 0

  console.log(ans1, ans2)
}

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