import std.stdio, std.array, std.conv, std.typecons, std.algorithm;

T diff(T)(immutable T a, immutable T b) { return a > b ? a - b : b - a; }

void main() {
    immutable ip = readln.split.to!(ulong[]);
    immutable w = ip[0], h = ip[1], x = ip[2], y = ip[3];

    double eps = 1e-9;

    writefln("%f %d", cast(double)(w*h)/2, (diff(cast(double)w/2, cast(double)x) < eps && diff(cast(double)h/2, cast(double)y) < eps) ? 1 : 0);

}
