import java.math.BigDecimal

fun main(args: Array<String>) {
    val sc = java.util.Scanner(System.`in`)
    val W = sc.nextInt()
    val H = sc.nextInt()
    val x = sc.nextInt()
    val y = sc.nextInt()

    val m = if (x * 2 == W && y * 2 == H) 1 else 0

    val r = BigDecimal.valueOf(W.toLong()).multiply(BigDecimal.valueOf(H.toLong())).divide(BigDecimal.valueOf(2L))
    println("$r $m")
}
