
function Main(input) {
  var W = parseInt(input[0], 10);
  var H = parseInt(input[1], 10);
  var x = parseInt(input[2], 10);
  var y = parseInt(input[3], 10);

  var menseki = W * H;
  var small = menseki / 2.0;

  var isMiddleTate = x === W / 2;
  var isMiddleYoko = y === H / 2;

  console.log(`${small} ${isMiddleTate && isMiddleYoko ? 1 : 0}`);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8").trim().split(/\n|\s/));