W, H, x, y = map(int, input().split())
print(W*H/2, int((W/2==x) and (H/2==y))) W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y print(W*H/2, int((W/2==x) and (H/2==y))) print W*H/2 W*H W H 2 int((W/2==x) and (H/2==y)) int (W/2==x) and (H/2==y) W/2==x W/2 W 2 x H/2==y H/2 H 2 y x, y = map(int, input().split()) map(int, input().split()) x y = map(int, input().split()) map(int, input().split()) y 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(W*H/2, int((W/2==x) and (H/2==y)))
