import sys

input = sys.stdin.readline

W, H, x, y = list(map(int, input().split()))

S = W * H * 0.5

if (x != 0 and y/x == H/W and W % 2 == 0):

  print((S, 1))

else:

  print((S, 0))
import sys

input = sys.stdin.readline

W, H, x, y = list(map(int, input().split()))

S = W * H * 0.5

center = (W / 2, H / 2)

p = (x, y)

if (p == center):

  print((S, 1))

else:

  print((S, 0))
import sys

input = sys.stdin.readline
W, H, x, y = list(map(int, input().split()))
S = W * H * 0.5
if x != 0 and y / x == H / W and W % 2 == 0:
    print((S, 1))
else:
    print((S, 0))

import sys

input = sys.stdin.readline
W, H, x, y = list(map(int, input().split()))
S = W * H * 0.5
center = (W / 2, H / 2)
p = (x, y)
if p == center:
    print((S, 1))
else:
    print((S, 0))

-if x != 0 and y / x == H / W and W % 2 == 0: +center = (W / 2, H / 2) +p = (x, y) +if p == center: