w, h, x, y = list(map(int, input().split()))

ans = []

ans.append(w * h / 2)

if w == x * 2 and h == y * 2:

    ans.append(1)

else:

    ans.append(0)

print((" ".join(map(str, ans))))
w, h, x, y = list(map(int, input().split()))

ans = []

ans.append(w * h / 2)

if w / 2 == x and h / 2 == y:

    ans.append(1)

else:

    ans.append(0)

print((" ".join(map(str, ans))))

w, h, x, y = list(map(int, input().split()))
ans = []
ans.append(w * h / 2)
if w == x * 2 and h == y * 2:
    ans.append(1)
else:
    ans.append(0)
print((" ".join(map(str, ans))))

w, h, x, y = list(map(int, input().split()))
ans = []
ans.append(w * h / 2)
if w / 2 == x and h / 2 == y:
    ans.append(1)
else:
    ans.append(0)
print((" ".join(map(str, ans))))

-if w == x * 2 and h == y * 2: +if w / 2 == x and h / 2 == y: