w,h,x,y=map(int,input().split())
print(h*w/2, int((2*x==w) and (y*2==h))) w,h,x,y=map(int,input().split()) w map(int,input().split()) map int input().split() ().split () input split h x y print(h*w/2, int((2*x==w) and (y*2==h))) print h*w/2 h*w h w 2 int((2*x==w) and (y*2==h)) int (2*x==w) and (y*2==h) 2*x==w 2*x 2 x w y*2==h y*2 y 2 h x,y=map(int,input().split()) map(int,input().split()) x 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 y=map(int,input().split()) map(int,input().split()) y
w,h,x,y=map(int,input().split())
print(h*w/2, int((2*x==w) and (y*2==h)))
