W, H, x, y = [int(x) for x in input().split()]

max_value = W*H/2
flg = W-x == x and H-y == y 
print(max_value, 1 if flg else 0) 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 max_value = W*H/2 max_value W*H/2 W*H W H 2 flg = W-x == x and H-y == y flg W-x == x and H-y == y W-x == x W-x W x x H-y == y H-y H y y print(max_value, 1 if flg else 0) print max_value 1 if flg else 0 flg 1 0 max_value = W*H/2 W*H/2 max_value W, H, x, y = [int(x) for x in input().split()] [int(x) for x in input().split()] W flg = W-x == x and H-y == y W-x == x and H-y == y flg 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
W, H, x, y = [int(x) for x in input().split()]

max_value = W*H/2
flg = W-x == x and H-y == y 
print(max_value, 1 if flg else 0)