#入力:N,M(int:整数)
def input2():
	return map(int,input().split())
  
W,H,x,y=input2()

if x==W/2 and y==H/2:
	print((W*H)/2, 1)
else:
	print((W*H)/2, 0) def input2():
	return map(int,input().split())
   input2 return map(int,input().split()) map(int,input().split()) map int input().split() ().split () input split W,H,x,y=input2() W input2() input2 H x y if x==W/2 and y==H/2:
	print((W*H)/2, 1)
else:
	print((W*H)/2, 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((W*H)/2, 1) print (W*H)/2 W*H W H 2 1 print((W*H)/2, 0) print (W*H)/2 W*H W H 2 0 y=input2() input2() y H,x,y=input2() input2() H x,y=input2() input2() x W,H,x,y=input2() input2() W def input2():
	return map(int,input().split())
   def input2():
	return map(int,input().split())
   input2
#入力:N,M(int:整数)
def input2():
	return map(int,input().split())
  
W,H,x,y=input2()

if x==W/2 and y==H/2:
	print((W*H)/2, 1)
else:
	print((W*H)/2, 0)