object Main {

  def main(args: Array[String]): Unit = {
    val sc = new java.util.Scanner(System.in)

    val W, H, x, y = sc.nextDouble()

    val rects1 = Seq(x * H, y * W, 2 * x * y, 2 * (W - x) * (H - y))
    val rects2 = Seq(H * (W - x), W * (H - y), 2 * (W - x) * (H - y))
    if (rects1.max > rects2.max) {
      val deplicate = if (rects2.count(r => r == rects2.max) > 1) 1 else 0
      println(s"${rects2.max} $deplicate")
    } else if (rects1.max == rects2.max) {
      println(s"${rects2.max} 1")
    } else {
      val deplicate = if (rects1.count(r => r == rects1.max) > 1) 1 else 0
      println(s"${rects1.max} $deplicate")
    }
  }

}