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(
    (x==0&&y==0)||(x==W&&y==0)||(x==0&&y==H)||(x==W&&y==H)||
    (x==0&&y==H/2)||(x==W&&y==H/2)||(x==W/2&&y==H)||(x==W/2&&y==0)
  ){
    console.log(ans+" 0");
  }else{
    console.log(ans+" 1");
  }
}

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