W, H, x, y = list(map(int, input().split()))
print(0.5 * W * H, int(W * 0.5 == x and H * 0.5 == y)) W, H, x, y = list(map(int, input().split())) W list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split H x y print(0.5 * W * H, int(W * 0.5 == x and H * 0.5 == y)) print 0.5 * W * H 0.5 * W 0.5 W H int(W * 0.5 == x and H * 0.5 == y) int W * 0.5 == x and H * 0.5 == y W * 0.5 == x W * 0.5 W 0.5 x H * 0.5 == y H * 0.5 H 0.5 y H, x, y = list(map(int, input().split())) list(map(int, input().split())) H y = list(map(int, input().split())) list(map(int, input().split())) y x, y = list(map(int, input().split())) list(map(int, input().split())) x W, H, x, y = list(map(int, input().split())) list(map(int, input().split())) W
W, H, x, y = list(map(int, input().split()))
print(0.5 * W * H, int(W * 0.5 == x and H * 0.5 == y))
