read = lambda: list(map(int, input().split()))
w, h, x, y = read()
sq = w * h / 2
if w == x * 2 and h == y * 2:
    print(sq, 1)
else:
    print(sq, 0) read = lambda: list(map(int, input().split())) read lambda: list(map(int, input().split())) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split w, h, x, y = read() w read() read h x y sq = w * h / 2 sq w * h / 2 w * h w h 2 if w == x * 2 and h == y * 2:
    print(sq, 1)
else:
    print(sq, 0) w == x * 2 and h == y * 2 w == x * 2 w x * 2 x 2 h == y * 2 h y * 2 y 2 print(sq, 1) print sq 1 print(sq, 0) print sq 0 y = read() read() y sq = w * h / 2 w * h / 2 sq x, y = read() read() x h, x, y = read() read() h w, h, x, y = read() read() w read = lambda: list(map(int, input().split())) lambda: list(map(int, input().split())) read
read = lambda: list(map(int, input().split()))
w, h, x, y = read()
sq = w * h / 2
if w == x * 2 and h == y * 2:
    print(sq, 1)
else:
    print(sq, 0)