import java.util.*
fun main(args: Array<String>){
	val cin = Scanner(System.`in`)
    val w = cin.nextLong()
    val h = cin.nextLong()
    val x = cin.nextLong()
    val y = cin.nextLong()

    val s = w*h/2.0

    var d = 0

    if (x*2 == w && y*2 == h) {
        d = 1
    }
    println(s.toString() + " " + d.toString())
}

    