# coding: utf-8

def solve(W, H, x, y):
  mw, mh = W / 2, H / 2
  return f'{W * H / 2} {int((x, y) == (mw, mh))}'


if __name__ == '__main__':
  print(solve(*map(int, input().split()))) def solve(W, H, x, y):
  mw, mh = W / 2, H / 2
  return f'{W * H / 2} {int((x, y) == (mw, mh))}' solve mw, mh = W / 2, H / 2 mw W / 2 W 2 mh H / 2 H 2 return f'{W * H / 2} {int((x, y) == (mw, mh))}' f'{W * H / 2} {int((x, y) == (mw, mh))}' W W H H x x y y if __name__ == '__main__':
  print(solve(*map(int, input().split()))) __name__ == '__main__' __name__ '__main__' print(solve(*map(int, input().split()))) print solve(*map(int, input().split())) solve *map(int, input().split()) map(int, input().split()) map int input().split() ().split () input split def solve(W, H, x, y):
  mw, mh = W / 2, H / 2
  return f'{W * H / 2} {int((x, y) == (mw, mh))}' def solve(W, H, x, y):
  mw, mh = W / 2, H / 2
  return f'{W * H / 2} {int((x, y) == (mw, mh))}' solve
# coding: utf-8

def solve(W, H, x, y):
  mw, mh = W / 2, H / 2
  return f'{W * H / 2} {int((x, y) == (mw, mh))}'


if __name__ == '__main__':
  print(solve(*map(int, input().split())))