import std.stdio, std.string, std.conv;

void main() {
    long[] tmp = readln.split.to!(long[]);
    long w = tmp[0], h = tmp[1], x = tmp[2], y = tmp[3];
    double s = w * h / 2.0;
    int t = 2 * x == w && 2 * y == h ? 1 : 0;
    writefln("%.10f %d", s, t);
}