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

dou=0
if w/2==x and h/2==y:
  dou=1

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

dou=0
if w/2==x and h/2==y:
  dou=1

print(w*h/2,dou)