import std.stdio, std.math, std.algorithm, std.array, std.string, std.conv, std.container, std.range;
T Read(T)() { return readln.chomp.to!(T); }
T[] Reads(T)() { return readln.split.to!(T[]); }
alias read = Read!(int);
alias reads = Reads!(int);

void main() {
    long w,h,x,y;
    readf("%d %d %d %d\n", &w,&h,&x,&y);
    writefln("%.10f %d", 1.0 * w * h / 2.0, (2*x==w && 2*y==h).to!int);
}