'use strict';

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

  let center = 0;

  if (x * 2 === W && y * 2 === H) center = 1;
  
  console.log(W * H / 2, center);
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));