fun main(args: Array<String>) {
    val (w, h, x, y) = readLine()!!.split(" ").map {it.toDouble()}
    val half_area = w * h / 2.0
    val s = if (w / 2.0 == x && h / 2.0 == y) 1 else 0

    println("${half_area} ${s}")
    
}