"use strict";
    
const main = arg => {
    arg = arg.trim().split("\n");
    const W = parseInt(arg[0].split(" ")[0]);
    const H = parseInt(arg[0].split(" ")[1]);
    const x = parseInt(arg[0].split(" ")[2]);
    const y = parseInt(arg[0].split(" ")[3]);
    
	if(W / 2 === x && H / 2 === y) {
      console.log((W * H) / 2, 1);
    } else {
      console.log((W * H) / 2, 0);
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
