#include <bits/stdc++.h>
int main(int argc, char *argv[]) {
  double w, h, x, y;
  int ans;
  std::cin >> w >> h >> x >> y;
  if (x > w / 2) {
    x = w - x;
  }
  if (y > h / 2) {
    y = h - y;
  }
  if (h > w) {
    using std::swap;
    swap(h, w);
    swap(x, y);
  }
  if ((y == h / 2) && (x == w / 2)) {
    double area = w * y;
    std::cout << area << " 1" << std::endl;
  } else {
    double area = std::max(w * y, h * x);
    if (y / x >= h / w) {
      area = std::max(area, h * h * x / y / 2);
    } else {
      area = std::max(area, w * w * y / x / 2);
    }
    std::cout << std::setprecision(16) << area << " 0" << std::endl;
  }
  return 0;
}
