import java.util.Scanner

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

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

  val s = w * h / 2.0d

  val multi = if((2L * x, 2L * y) == ( w, h)) 1 else 0

  println(s"$s $multi")
}
