import scala.io.{StdIn => in}

object Main extends App {
  val Array(w, h, x, y) = in.readLine.split(" ").map(_.toInt)

  val xc = w.toDouble / 2.0
  val yc = h.toDouble / 2.0

  val a1 = math.min(h.toDouble * (w-x), h.toDouble * x)
  val a2 = math.min(w.toDouble * (h-y), h.toDouble * y)

  val ans = a1 max a2 

  val other = if(w == x * 2 && h == y * 2) 1 else 0
  println(ans + " " + other)
}