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 = if(w == x && h == y) x.toDouble * y.toDouble / 2.0 else (a1 max a2)

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