'use strict';
function main(input) {
  const args = input.split(' '),
        W = parseInt(args[0]),
        H = parseInt(args[1]),
        x = parseInt(args[2]),
        y = parseInt(args[3]);
  const square = W * H / 2;
  if (x+x === W && y+y === H) {
    console.log(square + ' 1');
  } else {
    console.log(square + ' 2');
  }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
