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 = 0
    if (y == 0 || y == h || x == 0 || x == w) {
      ret1 = w * h / 2; ret2 = 0
    } else if (w.toDouble / 2 == x) {
      if (h.toDouble / 2 == y) {
        ret1 = w * h / 2; ret2 = 1
      } else {
        ret1 = w * h / 2; ret2 = 0
      }
    } else if (h.toDouble / 2 == y) {
      if (w.toDouble / 2 == x) {
        ret1 = w * h / 2; ret2 = 1
      } else {
        ret1 = w * h / 2; ret2 = 0
      }
    } else if (h / w * x == y) {
      if (y == -h / w * x) {
        ret1 = w * h / 2; ret2 = 1
      } else {
        ret1 = w * h / 2; ret2 = 0
      }
    }  else if (y == -h / w * x) {
      if (h / w * x == y) {
        ret1 = w * h / 2; ret2 = 1
      } else {
        ret1 = w * h / 2; ret2 = 0
      }
    }

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

}
  

