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

#print(W,H,x,y)
area =  "{0:.6f}".format(float(W*H/2))
if x == W/2 and y == H/2:
    print(area,1)
else:
    print(area,0) W,H,x,y = map(int,input().split()) W map(int,input().split()) map int input().split() ().split () input split H x y area =  "{0:.6f}".format(float(W*H/2)) area "{0:.6f}".format(float(W*H/2)) "{0:.6f}".format "{0:.6f}" format float(W*H/2) float W*H/2 W*H W H 2 if x == W/2 and y == H/2:
    print(area,1)
else:
    print(area,0) x == W/2 and y == H/2 x == W/2 x W/2 W 2 y == H/2 y H/2 H 2 print(area,1) print area 1 print(area,0) print area 0 W,H,x,y = map(int,input().split()) map(int,input().split()) W x,y = map(int,input().split()) map(int,input().split()) x y = map(int,input().split()) map(int,input().split()) y area =  "{0:.6f}".format(float(W*H/2)) "{0:.6f}".format(float(W*H/2)) area H,x,y = map(int,input().split()) map(int,input().split()) H
W,H,x,y = map(int,input().split())

#print(W,H,x,y)
area =  "{0:.6f}".format(float(W*H/2))
if x == W/2 and y == H/2:
    print(area,1)
else:
    print(area,0)