W, H, x, y = [int(n) for n in input().split()]

cx, cy = W/2, H/2

flg = 0
if x == cx and y == cy:
    flg = 1

print(W*H/2, flg)    int(n) for n in input().split() for n in input().split() n input().split() ().split () input split for n in input().split() int(n) int n W, H, x, y = [int(n) for n in input().split()] W [int(n) for n in input().split()] H x y cx, cy = W/2, H/2 cx W/2 W 2 cy H/2 H 2 flg = 0 flg 0 if x == cx and y == cy:
    flg = 1 x == cx and y == cy x == cx x cx y == cy y cy flg = 1 flg 1 print(W*H/2, flg) print W*H/2 W*H W H 2 flg flg = 1 1 flg y = [int(n) for n in input().split()] [int(n) for n in input().split()] y H, x, y = [int(n) for n in input().split()] [int(n) for n in input().split()] H flg = 0 0 flg cx, cy = W/2, H/2 W/2 cx cy = W/2, H/2 H/2 cy x, y = [int(n) for n in input().split()] [int(n) for n in input().split()] x W, H, x, y = [int(n) for n in input().split()] [int(n) for n in input().split()] W
W, H, x, y = [int(n) for n in input().split()]

cx, cy = W/2, H/2

flg = 0
if x == cx and y == cy:
    flg = 1

print(W*H/2, flg)   