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).toFixed(6));
  	if(x+x==W && y+y==H){
        console.log(WH + " " + 1);
    }else{
    	console.log(WH + " " + 0);
	}
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));