import std.stdio;
import std.algorithm;
import std.math;
import std.conv;
import std.string;

T readNum(T)(){
  return readStr.to!T;
}

T[] readNums(T)(){
  return readStr.split.to!(T[]);
}

string readStr(){
  return readln.chomp;
}

void main(){
  auto i = readNums!int;
  auto w = i[0], h = i[1], x = i[2], y = i[3];

  double s = w.to!double * h.to!double / 2.0;
  int m;
  if(w % 2 == 0 && h % 2 == 0 && w / 2 == x && h / 2 == y) m = 1;

  writeln(s, " ", m);
}
