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

center_x = W / 2
center_y = H / 2

area = W * H / 2

if center_x == x and center_y == y:
    print(f"{area} 1")
else:
    print(f"{area} 0") W, H, x, y = map(float, input().split()) W map(float, input().split()) map float input().split() ().split () input split H x y center_x = W / 2 center_x W / 2 W 2 center_y = H / 2 center_y H / 2 H 2 area = W * H / 2 area W * H / 2 W * H W H 2 if center_x == x and center_y == y:
    print(f"{area} 1")
else:
    print(f"{area} 0") center_x == x and center_y == y center_x == x center_x x center_y == y center_y y print(f"{area} 1") print f"{area} 1" print(f"{area} 0") print f"{area} 0" W, H, x, y = map(float, input().split()) map(float, input().split()) W center_x = W / 2 W / 2 center_x H, x, y = map(float, input().split()) map(float, input().split()) H area = W * H / 2 W * H / 2 area center_y = H / 2 H / 2 center_y x, y = map(float, input().split()) map(float, input().split()) x y = map(float, input().split()) map(float, input().split()) y
W, H, x, y = map(float, input().split())

center_x = W / 2
center_y = H / 2

area = W * H / 2

if center_x == x and center_y == y:
    print(f"{area} 1")
else:
    print(f"{area} 0")
