'use strict'
function main(input) {
  input = input.trim().split(' ').map(v => Number(v))
  let area = (input[0] * input[1] / 2).toFixed(6) + ' '
  area += (input[0] / 2 === input[2] && input[1] / 2 === input[3]) ? 1 : 0
  console.log(area);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
