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

ans1 = W * H / 2

ans2 = int(W / 2 == x and H / 2 == y)

print((ans1, ans2))

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



ans0 = float(W * H) / 2



ans1 = 0

if W%2 == 0 and H%2 == 0 and W//2 == x and H//2 == y:

    ans1 = 1

    

print((ans0, ans1))

W, H, x, y = list(map(float, input().split()))
ans1 = W * H / 2
ans2 = int(W / 2 == x and H / 2 == y)
print((ans1, ans2))

W, H, x, y = list(map(int, input().split()))
ans0 = float(W * H) / 2
ans1 = 0
if W % 2 == 0 and H % 2 == 0 and W // 2 == x and H // 2 == y:
    ans1 = 1
print((ans0, ans1))

-W, H, x, y = list(map(float, input().split())) -ans1 = W * H / 2 -ans2 = int(W / 2 == x and H / 2 == y) -print((ans1, ans2)) +W, H, x, y = list(map(int, input().split())) +ans0 = float(W * H) / 2 +ans1 = 0 +if W % 2 == 0 and H % 2 == 0 and W // 2 == x and H // 2 == y: +    ans1 = 1 +print((ans0, ans1))