'use strict'
function main(input) {
    const tmp = input.split(' ');
    const W = parseInt(tmp[0], 10);
    const H = parseInt(tmp[1], 10);
    const x = parseInt(tmp[2], 10);
    const y = parseInt(tmp[3], 10);

    const area = W * H / 2;
    console.log(area);
    if (x === W / 2 && y === H / 2) {
        console.log('1');
    } else {
        console.log('0');
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));