import std.stdio,std.string,std.conv;
void main() {
  const tmp = readln.split.to!(int[]);
  const W = tmp[0];
  const H = tmp[1];
  const x = tmp[2];
  const y = tmp[3];
  
  writefln("%f %d", W * H * 0.5, x*2==W && y*2==H?1:0);
}