"use strict";
    
const main = arg => {
    arg = arg.trim().split("\n");
    const W = parseInt(arg[0].split(" ")[0]);
    const H = parseInt(arg[0].split(" ")[1]);
    const x = parseInt(arg[0].split(" ")[2]);
    const y = parseInt(arg[0].split(" ")[3]);
    
    let temp1 = Math.min(y, H-y) * W;
    let temp2 = Math.min(W-x, x) * H;
    
    let answer = Math.max(temp1, temp2);
    
    if(temp1 === temp2) {
        console.log(answer + " 1");
    } else {
        console.log(answer + " 0");
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));