W, H, x, y = [int(i) for i in input().split()]
print(W*H / 2, int(x*2 == W and y*2 == H)) int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i W, H, x, y = [int(i) for i in input().split()] W [int(i) for i in input().split()] H x y print(W*H / 2, int(x*2 == W and y*2 == H)) print W*H / 2 W*H W H 2 int(x*2 == W and y*2 == H) int x*2 == W and y*2 == H x*2 == W x*2 x 2 W y*2 == H y*2 y 2 H x, y = [int(i) for i in input().split()] [int(i) for i in input().split()] x H, x, y = [int(i) for i in input().split()] [int(i) for i in input().split()] H y = [int(i) for i in input().split()] [int(i) for i in input().split()] y W, H, x, y = [int(i) for i in input().split()] [int(i) for i in input().split()] W
W, H, x, y = [int(i) for i in input().split()]
print(W*H / 2, int(x*2 == W and y*2 == H))