import scala.io.StdIn


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

  def solve(w: Int, h: Int, x: Int, y: Int) : String  = {
    var ret1 : Double = 0d
    var ret2 : Int = if (w == x * 2 && h == y * 2)  1 else 0
    
    ret1 = w.toDouble * h.toDouble / 2.0

    ret1 + " " + ret2
  }
  println(solve(w, h, x, y))

}
  

