[W, H, x, y] = [int(i) for i in input().split()]
ans = 0
if x * 2 == W and y * 2 == H:
    ans = 1
print(str(W*H/2.0)+' '+str(ans)) int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i [W, H, x, y] = [int(i) for i in input().split()] [W, H, x, y] W H x y [int(i) for i in input().split()] ans = 0 ans 0 if x * 2 == W and y * 2 == H:
    ans = 1 x * 2 == W and y * 2 == H x * 2 == W x * 2 x 2 W y * 2 == H y * 2 y 2 H ans = 1 ans 1 print(str(W*H/2.0)+' '+str(ans)) print str(W*H/2.0)+' '+str(ans) str(W*H/2.0)+' ' str(W*H/2.0) str W*H/2.0 W*H W H 2.0 ' ' str(ans) str ans ans = 0 0 ans ans = 1 1 ans
[W, H, x, y] = [int(i) for i in input().split()]
ans = 0
if x * 2 == W and y * 2 == H:
    ans = 1
print(str(W*H/2.0)+' '+str(ans))
