w, h, x, y = list(map(int, input().split()))



area = w * h / 2

if 2 * x == w and 2 * y == h:

    print((area, 1))

else:

    print((area, 0))
import sys



input = sys.stdin.readline



ri = lambda: int(eval(input()))

rs = lambda: input().rstrip()

ril = lambda: list(map(int, input().split()))

rsl = lambda: input().rstrip().split()

ris = lambda n: [ri() for _ in range(n)]

rss = lambda n: [rs() for _ in range(n)]

rils = lambda n: [ril() for _ in range(n)]

rsls = lambda n: [rsl() for _ in range(n)]



w, h, x, y = ril()

s = w * h / 2

if w == 2 * x and h == 2 * y:

    print((s, 1))

else:

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

import sys

input = sys.stdin.readline
ri = lambda: int(eval(input()))
rs = lambda: input().rstrip()
ril = lambda: list(map(int, input().split()))
rsl = lambda: input().rstrip().split()
ris = lambda n: [ri() for _ in range(n)]
rss = lambda n: [rs() for _ in range(n)]
rils = lambda n: [ril() for _ in range(n)]
rsls = lambda n: [rsl() for _ in range(n)]
w, h, x, y = ril()
s = w * h / 2
if w == 2 * x and h == 2 * y:
    print((s, 1))
else:
    print((s, 0))

-w, h, x, y = list(map(int, input().split())) -area = w * h / 2 -if 2 * x == w and 2 * y == h: -    print((area, 1)) +import sys + +input = sys.stdin.readline +ri = lambda: int(eval(input())) +rs = lambda: input().rstrip() +ril = lambda: list(map(int, input().split())) +rsl = lambda: input().rstrip().split() +ris = lambda n: [ri() for _ in range(n)] +rss = lambda n: [rs() for _ in range(n)] +rils = lambda n: [ril() for _ in range(n)] +rsls = lambda n: [rsl() for _ in range(n)] +w, h, x, y = ril() +s = w * h / 2 +if w == 2 * x and h == 2 * y: +    print((s, 1)) -    print((area, 0)) +    print((s, 0))