input = require('fs').readFileSync('/dev/stdin', 'utf8')
lines = input.split('\n')
line = lines.shift().split(' ')
W = line[0] * 1
H = line[1] * 1 
x = line[2] * 1
y = line[3] * 1
console.log(W * H / 2, W / 2 == x && H / 2 == y ? 1 : 0)
