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