function main(input) {
    input = input[0].split(' ');
    w = parseInt(input[0], 10);
    h = parseInt(input[1], 10);
    x = parseInt(input[2], 10);
    y = parseInt(input[3], 10);
    var smallH = x*h>(w-x)*h?(w-x)*h:x*h, smallW = y*w>(h-y)*w?(h-y)*w:y*w;
    if (smallH == smallW) console.log(smallH, 1);
    else console.log(smallH>smallW?smallH:smallW, 0);
}
main(require("fs").readFileSync("/dev/stdin", "utf8").split('\n'));