W,H,x,y = list(map(int,input().split()))
out = W*H/2
if W %2 == 0 and H %2 == 0 and x == W//2 and y == H//2:
    print(str(out)+' '+str(1))
else:
    print(str(out)+' '+str(0)) W,H,x,y = list(map(int,input().split())) W list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split H x y out = W*H/2 out W*H/2 W*H W H 2 if W %2 == 0 and H %2 == 0 and x == W//2 and y == H//2:
    print(str(out)+' '+str(1))
else:
    print(str(out)+' '+str(0)) W %2 == 0 and H %2 == 0 and x == W//2 and y == H//2 W %2 == 0 and H %2 == 0 and x == 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 == W//2 x W//2 W 2 y == H//2 y H//2 H 2 print(str(out)+' '+str(1)) print str(out)+' '+str(1) str(out)+' ' str(out) str out ' ' str(1) str 1 print(str(out)+' '+str(0)) print str(out)+' '+str(0) str(out)+' ' str(out) str out ' ' str(0) str 0 W,H,x,y = list(map(int,input().split())) list(map(int,input().split())) W H,x,y = list(map(int,input().split())) list(map(int,input().split())) H out = W*H/2 W*H/2 out x,y = list(map(int,input().split())) list(map(int,input().split())) x y = list(map(int,input().split())) list(map(int,input().split())) y
W,H,x,y = list(map(int,input().split()))
out = W*H/2
if W %2 == 0 and H %2 == 0 and x == W//2 and y == H//2:
    print(str(out)+' '+str(1))
else:
    print(str(out)+' '+str(0))