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

center = (W/2, H/2)

area = W*H

if (x, y) == center:
    print(area/2, 1)
else:
    print(area/2, 0) W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y center = (W/2, H/2) center (W/2, H/2) W/2 W 2 H/2 H 2 area = W*H area W*H W H if (x, y) == center:
    print(area/2, 1)
else:
    print(area/2, 0) (x, y) == center (x, y) x y center print(area/2, 1) print area/2 area 2 1 print(area/2, 0) print area/2 area 2 0 x, y = map(int, input().split()) map(int, input().split()) x W, H, x, y = map(int, input().split()) map(int, input().split()) W center = (W/2, H/2) (W/2, H/2) center area = W*H W*H area H, x, y = map(int, input().split()) map(int, input().split()) H y = map(int, input().split()) map(int, input().split()) y
W, H, x, y = map(int, input().split())

center = (W/2, H/2)

area = W*H

if (x, y) == center:
    print(area/2, 1)
else:
    print(area/2, 0)
