import java.util.Scanner;
import java.math.BigDecimal;
import java.math.MathContext

fun main(args: Array<String>){
    val sc = Scanner(System.`in`)
    val W = BigDecimal(sc.nextInt())
    val H = BigDecimal(sc.nextInt())
    val x = BigDecimal(sc.nextInt())
    val y = BigDecimal(sc.nextInt())
    var manyAnswerFlg = 0
    if(x == W.divide(BigDecimal(2), MathContext.DECIMAL128) && y == H.divide(BigDecimal(2), MathContext.DECIMAL128)){
        manyAnswerFlg = 1
    }

    println((W * H).divide(BigDecimal(2), MathContext.DECIMAL128))
    println(manyAnswerFlg)
}