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

cx = W/2
cy = H/2

area = (W*H)/2
if x==cx and y==cy:
    judge = 1
else:
    judge = 0

print(f'{area:.09f}', judge) W, H, x, y = map(int,input().split()) W map(int,input().split()) map int input().split() ().split () input split H x y cx = W/2 cx W/2 W 2 cy = H/2 cy H/2 H 2 area = (W*H)/2 area (W*H)/2 W*H W H 2 if x==cx and y==cy:
    judge = 1
else:
    judge = 0 x==cx and y==cy x==cx x cx y==cy y cy judge = 1 judge 1 judge = 0 judge 0 print(f'{area:.09f}', judge) print f'{area:.09f}' judge area = (W*H)/2 (W*H)/2 area H, x, y = map(int,input().split()) map(int,input().split()) H judge = 1 1 judge cy = H/2 H/2 cy judge = 0 0 judge x, y = map(int,input().split()) map(int,input().split()) x W, H, x, y = map(int,input().split()) map(int,input().split()) W y = map(int,input().split()) map(int,input().split()) y cx = W/2 W/2 cx
W, H, x, y = map(int,input().split())

cx = W/2
cy = H/2

area = (W*H)/2
if x==cx and y==cy:
    judge = 1
else:
    judge = 0

print(f'{area:.09f}', judge)