from decimal import Decimal
W, H, x, y = map(int, input().split())
Wi = W * 10 ** 9
Hi = H * 10 ** 9
men = Decimal(W * H / 2)
judge = 0
if x == W / 2 and y == H / 2:
  judge = 1
print("{0:.10f} {1:.0f}".format(men, judge)) 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 Wi = W * 10 ** 9 Wi W * 10 ** 9 W 10 ** 9 10 9 Hi = H * 10 ** 9 Hi H * 10 ** 9 H 10 ** 9 10 9 men = Decimal(W * H / 2) men Decimal(W * H / 2) Decimal W * H / 2 W * H W H 2 judge = 0 judge 0 if x == W / 2 and y == H / 2:
  judge = 1 x == W / 2 and y == H / 2 x == W / 2 x W / 2 W 2 y == H / 2 y H / 2 H 2 judge = 1 judge 1 print("{0:.10f} {1:.0f}".format(men, judge)) print "{0:.10f} {1:.0f}".format(men, judge) "{0:.10f} {1:.0f}".format "{0:.10f} {1:.0f}" format men judge Hi = H * 10 ** 9 H * 10 ** 9 Hi x, y = map(int, input().split()) map(int, input().split()) x judge = 0 0 judge Wi = W * 10 ** 9 W * 10 ** 9 Wi y = map(int, input().split()) map(int, input().split()) y W, H, x, y = map(int, input().split()) map(int, input().split()) W men = Decimal(W * H / 2) Decimal(W * H / 2) men H, x, y = map(int, input().split()) map(int, input().split()) H judge = 1 1 judge
from decimal import Decimal
W, H, x, y = map(int, input().split())
Wi = W * 10 ** 9
Hi = H * 10 ** 9
men = Decimal(W * H / 2)
judge = 0
if x == W / 2 and y == H / 2:
  judge = 1
print("{0:.10f} {1:.0f}".format(men, judge))