# 初期入力
import sys
input = sys.stdin.readline
W,H,x,y = (int(x) for x in input().split())
ans1 =0
ans2 =0
if W/2 ==x and H/2 ==y:
    ans2= 1
else:
    ans2 =0
ans1 =W *H/2
print(ans1,ans2) import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x W,H,x,y = (int(x) for x in input().split()) W (int(x) for x in input().split()) H x y ans1 =0 ans1 0 ans2 =0 ans2 0 if W/2 ==x and H/2 ==y:
    ans2= 1
else:
    ans2 =0 W/2 ==x and H/2 ==y W/2 ==x W/2 W 2 x H/2 ==y H/2 H 2 y ans2= 1 ans2 1 ans2 =0 ans2 0 ans1 =W *H/2 ans1 W *H/2 W *H W H 2 print(ans1,ans2) print ans1 ans2 ans1 =0 0 ans1 ans2= 1 1 ans2 ans2 =0 0 ans2 ans2 =0 0 ans2 input = sys.stdin.readline sys.stdin.readline input ans1 =W *H/2 W *H/2 ans1 W,H,x,y = (int(x) for x in input().split()) (int(x) for x in input().split()) W x,y = (int(x) for x in input().split()) (int(x) for x in input().split()) x y = (int(x) for x in input().split()) (int(x) for x in input().split()) y H,x,y = (int(x) for x in input().split()) (int(x) for x in input().split()) H
# 初期入力
import sys
input = sys.stdin.readline
W,H,x,y = (int(x) for x in input().split())
ans1 =0
ans2 =0
if W/2 ==x and H/2 ==y:
    ans2= 1
else:
    ans2 =0
ans1 =W *H/2
print(ans1,ans2)