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



# 中心とx,yを通る直線で切る



area = (W*H)/2

bl = (W == 2*x and H == 2*y)

t = 1 if bl else 0



print(('{} {}'.format(area, t)))
import sys

read = sys.stdin.buffer.read

readline = sys.stdin.buffer.readline

readlines = sys.stdin.buffer.readlines



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



W,H,x,y



bl = (W == 2*x and H == 2*y)

area = W*H/2

print((area,1 if bl else 0))
W, H, x, y = list(map(int, input().split()))
# 中心とx,yを通る直線で切る
area = (W * H) / 2
bl = W == 2 * x and H == 2 * y
t = 1 if bl else 0
print(("{} {}".format(area, t)))

import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
W, H, x, y = list(map(int, read().split()))
W, H, x, y
bl = W == 2 * x and H == 2 * y
area = W * H / 2
print((area, 1 if bl else 0))

-W, H, x, y = list(map(int, input().split())) -# 中心とx,yを通る直線で切る -area = (W * H) / 2 +import sys + +read = sys.stdin.buffer.read +readline = sys.stdin.buffer.readline +readlines = sys.stdin.buffer.readlines +W, H, x, y = list(map(int, read().split())) +W, H, x, y -t = 1 if bl else 0 -print(("{} {}".format(area, t))) +area = W * H / 2 +print((area, 1 if bl else 0))