w, h, x, y = [int(i) for i in input().split()]
pat = 0

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

print((w * h) / 2, pat) int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i w, h, x, y = [int(i) for i in input().split()] w [int(i) for i in input().split()] h x y pat = 0 pat 0 if x == w / 2 and y == h / 2:
    pat = 1 x == w / 2 and y == h / 2 x == w / 2 x w / 2 w 2 y == h / 2 y h / 2 h 2 pat = 1 pat 1 print((w * h) / 2, pat) print (w * h) / 2 w * h w h 2 pat pat = 0 0 pat w, h, x, y = [int(i) for i in input().split()] [int(i) for i in input().split()] w x, y = [int(i) for i in input().split()] [int(i) for i in input().split()] x y = [int(i) for i in input().split()] [int(i) for i in input().split()] y pat = 1 1 pat h, x, y = [int(i) for i in input().split()] [int(i) for i in input().split()] h
w, h, x, y = [int(i) for i in input().split()]
pat = 0

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

print((w * h) / 2, pat)
