function main(input) {
  input=input.trim();
  const W = parseInt(input.split(" ")[0], 10);
  const H = parseInt(input.split(" ")[1], 10);
  const x = parseInt(input.split(" ")[2], 10);
  const y = parseInt(input.split(" ")[3], 10);
  console.log(W*H/2);
  if(W/2==x&&H/2==y){
    console.log(1);
  }else{
    console.log(0);
  }
  
}



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