import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)

  val w = sc.nextInt
  val h = sc.nextInt
  val x = sc.nextInt
  val y = sc.nextInt

  val s = w * h / 2.0d

  val multi = if((x.toDouble,y.toDouble) == (w/2.0d, h/2.0d)) 1 else 0

  println(s"$s $multi")
}