import sys
def MI(): return map(int,sys.stdin.readline().rstrip().split())

W,H,x,y = MI()

# 長方形の中心

if 2*x == W and 2*y == H:
    print(H*W/2,1)
else:
    print(H*W/2,0) import sys sys def MI(): return map(int,sys.stdin.readline().rstrip().split()) MI W,H,x,y = MI() W MI() MI H x y if 2*x == W and 2*y == H:
    print(H*W/2,1)
else:
    print(H*W/2,0) 2*x == W and 2*y == H 2*x == W 2*x 2 x W 2*y == H 2*y 2 y H print(H*W/2,1) print H*W/2 H*W H W 2 1 print(H*W/2,0) print H*W/2 H*W H W 2 0 H,x,y = MI() MI() H def MI(): return map(int,sys.stdin.readline().rstrip().split()) def MI(): return map(int,sys.stdin.readline().rstrip().split()) MI y = MI() MI() y x,y = MI() MI() x W,H,x,y = MI() MI() W
import sys
def MI(): return map(int,sys.stdin.readline().rstrip().split())

W,H,x,y = MI()

# 長方形の中心

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