import java.util.Scanner

object Main {
  def main(args: Array[String]): Unit = {
    //nextLineとnextを同時に使ったら死ぬ
    val sc = new Scanner(System.in)
    val h, w, x, y = sc.nextLong()
    val ans = (h * w) / 2.0

    debug(w / 2.0, h / 2.0)
    val value =
      if (x == w / 2.0 && y == h / 2.0) {
        1
      } else {
        0
      }

    printf("%f %d", ans, value)
    println()

  }
  def debug(args: Any*): Unit = {
    Console.err.println(args.mkString(" "))
  }
}
