W,H,x,y=list(map(int, input().split()))
f=(x==W/2 and y==H/2)
print(W*H/2,int(f)) 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 f=(x==W/2 and y==H/2) f x==W/2 and y==H/2 x==W/2 x W/2 W 2 y==H/2 y H/2 H 2 print(W*H/2,int(f)) print W*H/2 W*H W H 2 int(f) int f 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 y=list(map(int, input().split())) list(map(int, input().split())) y f=(x==W/2 and y==H/2) x==W/2 and y==H/2 f x,y=list(map(int, input().split())) list(map(int, input().split())) x
W,H,x,y=list(map(int, input().split()))
f=(x==W/2 and y==H/2)
print(W*H/2,int(f))