const main = (inputs) => {
  var W = inputs[0].split(" ")[0]-0;
  var H = inputs[0].split(" ")[1]-0;
  var x = inputs[0].split(" ")[2]-0;
  var y = inputs[0].split(" ")[3]-0;

  var ans = H*W/2;
  if(W/2==x && H/2==y) ans += " 1";
  else ans += " 0";
  console.log(ans);
}

main(require('fs').readFileSync('/dev/stdin', 'UTF-8').trim().split("\n"));
