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

area = W * H / 2
ways = 0
if x == W / 2 and y == H / 2:
    ways += 1

print(area, ways) W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y area = W * H / 2 area W * H / 2 W * H W H 2 ways = 0 ways 0 if x == W / 2 and y == H / 2:
    ways += 1 x == W / 2 and y == H / 2 x == W / 2 x W / 2 W 2 y == H / 2 y H / 2 H 2 ways += 1 ways 1 print(area, ways) print area ways ways = 0 0 ways area = W * H / 2 W * H / 2 area y = map(int, input().split()) map(int, input().split()) y ways += 1 1 ways W, H, x, y = map(int, input().split()) map(int, input().split()) W x, y = map(int, input().split()) map(int, input().split()) x H, x, y = map(int, input().split()) map(int, input().split()) H
W, H, x, y = map(int, input().split())

area = W * H / 2
ways = 0
if x == W / 2 and y == H / 2:
    ways += 1

print(area, ways)
