import sys

W, H, x, y = map(int, sys.stdin.readline().split())

print(W*H / 2, 1 if 2 * x == W and 2 * y == H else 0) import sys sys W, H, x, y = map(int, sys.stdin.readline().split()) W map(int, sys.stdin.readline().split()) map int sys.stdin.readline().split() sys.stdin.readline().split sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline split H x y print(W*H / 2, 1 if 2 * x == W and 2 * y == H else 0) print W*H / 2 W*H W H 2 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 y = map(int, sys.stdin.readline().split()) map(int, sys.stdin.readline().split()) y W, H, x, y = map(int, sys.stdin.readline().split()) map(int, sys.stdin.readline().split()) W x, y = map(int, sys.stdin.readline().split()) map(int, sys.stdin.readline().split()) x H, x, y = map(int, sys.stdin.readline().split()) map(int, sys.stdin.readline().split()) H
import sys

W, H, x, y = map(int, sys.stdin.readline().split())

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