import sys

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

if 2*x == W and 2*y == H:
    multi = 1
else:
    multi = 0

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

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

if 2*x == W and 2*y == H:
    multi = 1
else:
    multi = 0

print(W*H/2, multi)