import std.stdio;
import std.conv;
import std.string;
import std.typecons;
import std.algorithm;
import std.array;
import std.range;
import std.math;
import std.regex : regex;
import std.container;
import std.bigint;


void main()
{
  long w, h, x, y;
  readf("%s %s %s %s\n", &w, &h, &x, &y);

  if ((x == 0 || x == w) && (y == 0 || y == h)) {
    writefln("%.12f 0", w * h / 2.0);
  } else if (x == 0 || x == w) {
    auto a = min(y * w, (h-y) * w);
    writefln("%.12f 0", a.to!double);
  } else if (y == 0 || y == h) {
    auto a = min(h * x, (w-x) * h);
    writefln("%.12f 0", a.to!double);
  } else {
    int[long] cnt;
    cnt[min(y * w, (h-y) * w)]++;
    cnt[min(h * x, (w-x) * h)]++;
    auto k = cnt.keys;
    sort!("a>b")(k);
    writefln("%.12f %s", k[0].to!double, cnt[k[0]]-1);
  }
}
