function Main(input) {
    const W = parseInt(input[0])
    const H = parseInt(input[1])
    const X = parseInt(input[2])
    const Y = parseInt(input[3])

    var isDup = "0";
    if(X == W/2.0 && Y == H/2.0){
        isDup = "1";
    }

    console.log("" + W*H / 2.0 + " " + isDup);
}

// 1行入力の場合
// Main(require("fs").readFileSync("/dev/stdin", "utf8").trim());

// 改行で分割
// Main(require("fs").readFileSync("/dev/stdin", "utf8").trim().split(/\n/));

// 改行・空白で分割
Main(require("fs").readFileSync("/dev/stdin", "utf8").trim().split(/\n|\s/));