import scala.io.{StdIn => in}

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

  val ans = x.toDouble * y.toDouble / 2.0

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