#include <iostream>
#include <string>
#include <algorithm>
#include <vector>

using namespace std;

int main() {

	double w, h, x, y;
	cin >> w >> h >> x >> y;

	double mw, mh;
	mw = w / 2.0;
	mh = h / 2.0;

	double scale = w * h / 2.0;

	int judge = 0;

	if (mw == x && mh == y)judge = 1;

	printf("%.9lf %d", scale, judge);

}

