    function Main(input) {  	
      	W = parseInt(input.split(" ")[0]);
    	H = parseInt(input.split(" ")[1]);
        x = parseInt(input.split(" ")[2]);
      	y = parseInt(input.split(" ")[2]);    	
      
      	WH = W*H/2;
      	if(x==W/2 && y==H/2){
            console.log(WH + " " + 1);
        }else{
        	console.log(WH + " " + 0);
    	}
    }
    Main(require("fs").readFileSync("/dev/stdin", "utf8"));