W,H,x,y = list(map(float,input().split()))

ans = W * H
ans = float(float(ans) / 2.0)
ans2 = 0
if x == float(float(W) / 2) and y == float(float(H) / 2):
    ans2 = 1

print(str(ans) + " " + str(ans2)) W,H,x,y = list(map(float,input().split())) W list(map(float,input().split())) list map(float,input().split()) map float input().split() ().split () input split H x y ans = W * H ans W * H W H ans = float(float(ans) / 2.0) ans float(float(ans) / 2.0) float float(ans) / 2.0 float(ans) float ans 2.0 ans2 = 0 ans2 0 if x == float(float(W) / 2) and y == float(float(H) / 2):
    ans2 = 1 x == float(float(W) / 2) and y == float(float(H) / 2) x == float(float(W) / 2) x float(float(W) / 2) float float(W) / 2 float(W) float W 2 y == float(float(H) / 2) y float(float(H) / 2) float float(H) / 2 float(H) float H 2 ans2 = 1 ans2 1 print(str(ans) + " " + str(ans2)) print str(ans) + " " + str(ans2) str(ans) + " " str(ans) str ans " " str(ans2) str ans2 W,H,x,y = list(map(float,input().split())) list(map(float,input().split())) W x,y = list(map(float,input().split())) list(map(float,input().split())) x ans = W * H W * H ans ans = float(float(ans) / 2.0) float(float(ans) / 2.0) ans ans2 = 1 1 ans2 y = list(map(float,input().split())) list(map(float,input().split())) y H,x,y = list(map(float,input().split())) list(map(float,input().split())) H ans2 = 0 0 ans2
W,H,x,y = list(map(float,input().split()))

ans = W * H
ans = float(float(ans) / 2.0)
ans2 = 0
if x == float(float(W) / 2) and y == float(float(H) / 2):
    ans2 = 1

print(str(ans) + " " + str(ans2))