import java.util.*

fun main(args:Array<String>){
    val (w,h,x,y) = readLine()!!.split(" ").map{it.toInt()}
    var k = 0
    if(w % 2 == 0 && h % 2 == 0 && w / 2 == x && h / 2 == y) k = 1
    val a = w.toDouble() * h.toDouble() / 2
    println("$a $k")
}
