from decimal import Decimal
W, H, x, y = map(int, input().split())

if W == 2*x and H == 2*y:
    print(Decimal(W*H/2), 1)
else:
    print(Decimal(W*H/2), 0) from decimal import Decimal W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y if W == 2*x and H == 2*y:
    print(Decimal(W*H/2), 1)
else:
    print(Decimal(W*H/2), 0) W == 2*x and H == 2*y W == 2*x W 2*x 2 x H == 2*y H 2*y 2 y print(Decimal(W*H/2), 1) print Decimal(W*H/2) Decimal W*H/2 W*H W H 2 1 print(Decimal(W*H/2), 0) print Decimal(W*H/2) Decimal W*H/2 W*H W H 2 0 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 H, x, y = map(int, input().split()) map(int, input().split()) H
from decimal import Decimal
W, H, x, y = map(int, input().split())

if W == 2*x and H == 2*y:
    print(Decimal(W*H/2), 1)
else:
    print(Decimal(W*H/2), 0)
