function main(input) {
  const inputs = input.split(' ').map(i => parseInt(i));
  const W = inputs[0];
  const H = inputs[1];
  const x = inputs[2];
  const y = inputs[3];

  var menseki = 0;

  var W_sa = W - x > x ? W - x : x;
  var H_sa = H - y > y ? H - y : y;

  isOK = 0;
  if (W_sa > H_sa) {
    menseki = H_sa * W;
  } else if (W_sa < H_sa) {
    menseki = W_sa * H;
  } else {
    menseki = parseFloat(W * H / 2);
    isOK = 1;
  }

  console.log(parseFloat(menseki) + ' ' + isOK);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
