w, h, x, y = map(int, input().split())
area = w * h
if x == w / 2 and y == h / 2:
    print(str(area / 2), "1")
else:
    print(str(area / 2), "0") w, h, x, y = map(int, input().split()) w map(int, input().split()) map int input().split() ().split () input split h x y area = w * h area w * h w h if x == w / 2 and y == h / 2:
    print(str(area / 2), "1")
else:
    print(str(area / 2), "0") x == w / 2 and y == h / 2 x == w / 2 x w / 2 w 2 y == h / 2 y h / 2 h 2 print(str(area / 2), "1") print str(area / 2) str area / 2 area 2 "1" print(str(area / 2), "0") print str(area / 2) str area / 2 area 2 "0" x, y = map(int, input().split()) map(int, input().split()) x y = map(int, input().split()) map(int, input().split()) y h, x, y = map(int, input().split()) map(int, input().split()) h area = w * h w * h area w, h, x, y = map(int, input().split()) map(int, input().split()) w
w, h, x, y = map(int, input().split())
area = w * h
if x == w / 2 and y == h / 2:
    print(str(area / 2), "1")
else:
    print(str(area / 2), "0")