object Main {

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

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

    val flag = if (x * 2 == W && y * 2 == H) 1 else 0
    println(s"${W * H / 2.0} $flag")
  }

}

