W,H,x,y = map(int,input().split())
flag = 0
if x ==  W/2 and y ==  H/2:
    flag = 1
print(W*H/2,flag)     W,H,x,y = map(int,input().split()) W map(int,input().split()) map int input().split() ().split () input split H x y flag = 0 flag 0 if x ==  W/2 and y ==  H/2:
    flag = 1 x ==  W/2 and y ==  H/2 x ==  W/2 x W/2 W 2 y ==  H/2 y H/2 H 2 flag = 1 flag 1 print(W*H/2,flag) print W*H/2 W*H W H 2 flag y = map(int,input().split()) map(int,input().split()) y flag = 0 0 flag W,H,x,y = map(int,input().split()) map(int,input().split()) W x,y = map(int,input().split()) map(int,input().split()) x H,x,y = map(int,input().split()) map(int,input().split()) H flag = 1 1 flag
W,H,x,y = map(int,input().split())
flag = 0
if x ==  W/2 and y ==  H/2:
    flag = 1
print(W*H/2,flag)    