def LI():
    return list(map(int, input().split()))


W, H, x, y = LI()
if x*2 == W and y*2 == H:
    total = 1
else:
    total = 0
print(W*H/2, total) def LI():
    return list(map(int, input().split())) LI return list(map(int, input().split())) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split W, H, x, y = LI() W LI() LI H x y if x*2 == W and y*2 == H:
    total = 1
else:
    total = 0 x*2 == W and y*2 == H x*2 == W x*2 x 2 W y*2 == H y*2 y 2 H total = 1 total 1 total = 0 total 0 print(W*H/2, total) print W*H/2 W*H W H 2 total y = LI() LI() y x, y = LI() LI() x W, H, x, y = LI() LI() W H, x, y = LI() LI() H total = 1 1 total def LI():
    return list(map(int, input().split())) def LI():
    return list(map(int, input().split())) LI total = 0 0 total
def LI():
    return list(map(int, input().split()))


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