'use strict'
function main(input) {
  input = input
    .trim()
    .split(' ')
    .map(v => Number(v))
  const W = input[0]
  const H = input[1]
  const X = input[2]
  const Y = input[3]
 
  const boo = X + X == W && Y + Y == H ? 1 : 0
  console.log((W * H) / 2 + ' ' + boo)


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