#include <bits/stdc++.h>
using namespace std;
long long read() {
  long long res = 0;
  char c = getchar();
  while (!isdigit(c)) c = getchar();
  while (isdigit(c)) res = res * 10 + c - '0', c = getchar();
  return res;
}
int main() {
  long long n = read(), m = read();
  long long x = read(), y = read();
  printf("%.6lf ", (double)n * (double)m * (double)0.5);
  if (x * 2 == n && y * 2 == m)
    puts("1");
  else
    puts("0");
  return 0;
}
