w,h,x,y = map(int,input().split())

area = w*h
ans = (w/2==float(x) and h/2==float(y))
print(area/2,(1 if ans else 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 = w*h area w*h w h ans = (w/2==float(x) and h/2==float(y)) ans w/2==float(x) and h/2==float(y) w/2==float(x) w/2 w 2 float(x) float x h/2==float(y) h/2 h 2 float(y) float y print(area/2,(1 if ans else 0)) print area/2 area 2 1 if ans else 0 ans 1 0 area = w*h w*h area ans = (w/2==float(x) and h/2==float(y)) w/2==float(x) and h/2==float(y) ans w,h,x,y = map(int,input().split()) map(int,input().split()) w h,x,y = map(int,input().split()) map(int,input().split()) h x,y = map(int,input().split()) map(int,input().split()) x y = map(int,input().split()) map(int,input().split()) y
w,h,x,y = map(int,input().split())

area = w*h
ans = (w/2==float(x) and h/2==float(y))
print(area/2,(1 if ans else 0))