fun main(args: Array<String>) {
    var input = readLine()!!.split(" ")
    val width = input[0].toDouble()
    val height = input[1].toDouble()
    val x = input[2].toDouble()
    val y = input[3].toDouble()

    print((width * height / 2).toString()+ " " + (if (x == width/2 && y == height/2) 1 else 0))
}