W, H, x, y = map(int, input().split())

print('{:.6f}'.format(float(W*H/2)), end=" ")

if float(x) == W/2 and float(y) == H/2:
    print(1)
else:
    print(0) W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y print('{:.6f}'.format(float(W*H/2)), end=" ") print '{:.6f}'.format(float(W*H/2)) '{:.6f}'.format '{:.6f}' format float(W*H/2) float W*H/2 W*H W H 2 end=" " end " " if float(x) == W/2 and float(y) == H/2:
    print(1)
else:
    print(0) float(x) == W/2 and float(y) == H/2 float(x) == W/2 float(x) float x W/2 W 2 float(y) == H/2 float(y) float y H/2 H 2 print(1) print 1 print(0) print 0 y = map(int, input().split()) map(int, input().split()) y x, y = map(int, input().split()) map(int, input().split()) x W, H, x, y = map(int, input().split()) map(int, input().split()) W H, x, y = map(int, input().split()) map(int, input().split()) H
W, H, x, y = map(int, input().split())

print('{:.6f}'.format(float(W*H/2)), end=" ")

if float(x) == W/2 and float(y) == H/2:
    print(1)
else:
    print(0)