from decimal import Decimal
w, h, x, y = map(int, input().split())
print("{:.9f}".format(Decimal(w)*Decimal(h)*Decimal(0.5)), int(2*x==w and 2*y==h)) 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 print("{:.9f}".format(Decimal(w)*Decimal(h)*Decimal(0.5)), int(2*x==w and 2*y==h)) print "{:.9f}".format(Decimal(w)*Decimal(h)*Decimal(0.5)) "{:.9f}".format "{:.9f}" format Decimal(w)*Decimal(h)*Decimal(0.5) Decimal(w)*Decimal(h) Decimal(w) Decimal w Decimal(h) Decimal h Decimal(0.5) Decimal 0.5 int(2*x==w and 2*y==h) int 2*x==w and 2*y==h 2*x==w 2*x 2 x w 2*y==h 2*y 2 y h w, h, x, y = map(int, input().split()) map(int, input().split()) w h, x, y = map(int, input().split()) map(int, input().split()) h y = map(int, input().split()) map(int, input().split()) y x, y = map(int, input().split()) map(int, input().split()) x
from decimal import Decimal
w, h, x, y = map(int, input().split())
print("{:.9f}".format(Decimal(w)*Decimal(h)*Decimal(0.5)), int(2*x==w and 2*y==h))