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

print(W * H / 2, end=' ')
if 2 * x == W and 2 * y == H:
    print(1)
else:
    print(0) int(a) for a in input().split() for a in input().split() a input().split() ().split () input split for a in input().split() int(a) int a W, H, x, y = [int(a) for a in input().split()] W [int(a) for a in input().split()] H x y print(W * H / 2, end=' ') print W * H / 2 W * H W H 2 end=' ' end ' ' if 2 * x == W and 2 * y == H:
    print(1)
else:
    print(0) 2 * x == W and 2 * y == H 2 * x == W 2 * x 2 x W 2 * y == H 2 * y 2 y H print(1) print 1 print(0) print 0 W, H, x, y = [int(a) for a in input().split()] [int(a) for a in input().split()] W x, y = [int(a) for a in input().split()] [int(a) for a in input().split()] x H, x, y = [int(a) for a in input().split()] [int(a) for a in input().split()] H y = [int(a) for a in input().split()] [int(a) for a in input().split()] y
W, H, x, y = [int(a) for a in input().split()]

print(W * H / 2, end=' ')
if 2 * x == W and 2 * y == H:
    print(1)
else:
    print(0)