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

max_area = float(W) * float(H) / 2.0
print("{} {}".format(max_area, 1 if 2*x == W and 2*y == H else 0)) W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y max_area = float(W) * float(H) / 2.0 max_area float(W) * float(H) / 2.0 float(W) * float(H) float(W) float W float(H) float H 2.0 print("{} {}".format(max_area, 1 if 2*x == W and 2*y == H else 0)) print "{} {}".format(max_area, 1 if 2*x == W and 2*y == H else 0) "{} {}".format "{} {}" format max_area 1 if 2*x == W and 2*y == H else 0 2*x == W and 2*y == H 2*x == W 2*x 2 x W 2*y == H 2*y 2 y H 1 0 H, x, y = map(int, input().split()) map(int, input().split()) H x, y = map(int, input().split()) map(int, input().split()) x W, H, x, y = map(int, input().split()) map(int, input().split()) W max_area = float(W) * float(H) / 2.0 float(W) * float(H) / 2.0 max_area y = map(int, input().split()) map(int, input().split()) y
W, H, x, y = map(int, input().split())

max_area = float(W) * float(H) / 2.0
print("{} {}".format(max_area, 1 if 2*x == W and 2*y == H else 0))