import scala.io.StdIn

object Main {

  def main(args: Array[String]) = {

    val Array(w, h, x, y) = StdIn.readLine().split(' ').map(_.toLong)
    val ans = (w * h).toDouble / 2.0
    val multi = if (x == w / 2 && y == h / 2) 1 else 0
    println(s"$ans $multi")

  }

}
