W, H, x, y = [int(_) for _ in input().split()]

ans1 = W / 2 * H
if x == W / 2 and y == H / 2:
    ans2 = 1
else:
    ans2 = 0

print(f"{ans1} {ans2}") int(_) for _ in input().split() for _ in input().split() _ input().split() ().split () input split for _ in input().split() int(_) int _ W, H, x, y = [int(_) for _ in input().split()] W [int(_) for _ in input().split()] H x y ans1 = W / 2 * H ans1 W / 2 * H W / 2 W 2 H if x == W / 2 and y == H / 2:
    ans2 = 1
else:
    ans2 = 0 x == W / 2 and y == H / 2 x == W / 2 x W / 2 W 2 y == H / 2 y H / 2 H 2 ans2 = 1 ans2 1 ans2 = 0 ans2 0 print(f"{ans1} {ans2}") print f"{ans1} {ans2}" y = [int(_) for _ in input().split()] [int(_) for _ in input().split()] y ans2 = 0 0 ans2 x, y = [int(_) for _ in input().split()] [int(_) for _ in input().split()] x W, H, x, y = [int(_) for _ in input().split()] [int(_) for _ in input().split()] W H, x, y = [int(_) for _ in input().split()] [int(_) for _ in input().split()] H ans1 = W / 2 * H W / 2 * H ans1 ans2 = 1 1 ans2
W, H, x, y = [int(_) for _ in input().split()]

ans1 = W / 2 * H
if x == W / 2 and y == H / 2:
    ans2 = 1
else:
    ans2 = 0

print(f"{ans1} {ans2}")
