object Main {
  def main(args: Array[String]): Unit = {
    val sc = new java.util.Scanner(System.in)
    val line = Seq.fill(4)(sc.nextDouble)
    val (w, h, x, y) = (line(0), line(1), line(2), line(3))
    val maxArea = w * h / 2
    val isMulti = if (x == w / 2 && y == h / 2) 1 else 0
    println(s"$maxArea $isMulti")
  }
}