W,H,x,y = (int(x) for x in input().split())
if W%2 == 0 and H%2 == 0 and x == int(W/2) and y == int(H/2):
  print(W*H/2,1)
else:
  print(W*H/2,0) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x W,H,x,y = (int(x) for x in input().split()) W (int(x) for x in input().split()) H x y if W%2 == 0 and H%2 == 0 and x == int(W/2) and y == int(H/2):
  print(W*H/2,1)
else:
  print(W*H/2,0) W%2 == 0 and H%2 == 0 and x == int(W/2) and y == int(H/2) W%2 == 0 and H%2 == 0 and x == int(W/2) W%2 == 0 and H%2 == 0 W%2 == 0 W%2 W 2 0 H%2 == 0 H%2 H 2 0 x == int(W/2) x int(W/2) int W/2 W 2 y == int(H/2) y int(H/2) int 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 = (int(x) for x in input().split()) (int(x) for x in input().split()) y H,x,y = (int(x) for x in input().split()) (int(x) for x in input().split()) H W,H,x,y = (int(x) for x in input().split()) (int(x) for x in input().split()) W x,y = (int(x) for x in input().split()) (int(x) for x in input().split()) x
W,H,x,y = (int(x) for x in input().split())
if W%2 == 0 and H%2 == 0 and x == int(W/2) and y == int(H/2):
  print(W*H/2,1)
else:
  print(W*H/2,0)