function Main(input){ 
var inputs =input.split(" ");
var W = parseInt(inputs[0],10);
var H = parseInt(inputs[1],10);
var x = parseInt(inputs[2],10);
var y = parseInt(inputs[3],10);
var cenX = W/2;
var cenY = H/2;
var Max = (W*H/2).toFixed(6);
if(cenX==x&&cenY==y){
  console.log(Max+" "+"1");
}else{
  console.log(Max+" "+"0");
}
}
  Main(require('fs').readFileSync('/dev/stdin','utf8'));