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

if 2 * x == W and 2 * y == H:
    tmp = 1
else:
    tmp = 0
print(W*H/2,tmp) import collections collections W,H,x,y = map(int,input().split()) W map(int,input().split()) map int input().split() ().split () input split H x y if 2 * x == W and 2 * y == H:
    tmp = 1
else:
    tmp = 0 2 * x == W and 2 * y == H 2 * x == W 2 * x 2 x W 2 * y == H 2 * y 2 y H tmp = 1 tmp 1 tmp = 0 tmp 0 print(W*H/2,tmp) print W*H/2 W*H W H 2 tmp tmp = 0 0 tmp W,H,x,y = map(int,input().split()) map(int,input().split()) W H,x,y = map(int,input().split()) map(int,input().split()) H tmp = 1 1 tmp x,y = map(int,input().split()) map(int,input().split()) x y = map(int,input().split()) map(int,input().split()) y
import collections
W,H,x,y = map(int,input().split())

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