#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Created: Jul, 12, 2020 21:58:18 by Nobody
# $Author$
# $Date$
# $URL$
__giturl__ = "$URL$"


from sys import stdin
input = stdin.readline


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

  cx, cy = W/2, H/2
  epsilon = 1e-9
  is_multi = 1 if abs(x-cx) < epsilon and abs(y-cy) < epsilon else 0
  print(W*H/2, is_multi)


if(__name__ == '__main__'):
  main() __giturl__ = "$URL$" __giturl__ "$URL$" from sys import stdin input = stdin.readline input stdin.readline stdin readline def main():
  W, H, x, y = list(map(int, input().split()))

  cx, cy = W/2, H/2
  epsilon = 1e-9
  is_multi = 1 if abs(x-cx) < epsilon and abs(y-cy) < epsilon else 0
  print(W*H/2, is_multi) main W, H, x, y = list(map(int, input().split())) W list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split H x y cx, cy = W/2, H/2 cx W/2 W 2 cy H/2 H 2 epsilon = 1e-9 epsilon 1e-9 is_multi = 1 if abs(x-cx) < epsilon and abs(y-cy) < epsilon else 0 is_multi 1 if abs(x-cx) < epsilon and abs(y-cy) < epsilon else 0 abs(x-cx) < epsilon and abs(y-cy) < epsilon abs(x-cx) < epsilon abs(x-cx) abs x-cx x cx epsilon abs(y-cy) < epsilon abs(y-cy) abs y-cy y cy epsilon 1 0 print(W*H/2, is_multi) print W*H/2 W*H W H 2 is_multi if(__name__ == '__main__'):
  main() __name__ == '__main__' __name__ '__main__' main() main def main():
  W, H, x, y = list(map(int, input().split()))

  cx, cy = W/2, H/2
  epsilon = 1e-9
  is_multi = 1 if abs(x-cx) < epsilon and abs(y-cy) < epsilon else 0
  print(W*H/2, is_multi) def main():
  W, H, x, y = list(map(int, input().split()))

  cx, cy = W/2, H/2
  epsilon = 1e-9
  is_multi = 1 if abs(x-cx) < epsilon and abs(y-cy) < epsilon else 0
  print(W*H/2, is_multi) main input = stdin.readline stdin.readline input
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Created: Jul, 12, 2020 21:58:18 by Nobody
# $Author$
# $Date$
# $URL$
__giturl__ = "$URL$"


from sys import stdin
input = stdin.readline


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

  cx, cy = W/2, H/2
  epsilon = 1e-9
  is_multi = 1 if abs(x-cx) < epsilon and abs(y-cy) < epsilon else 0
  print(W*H/2, is_multi)


if(__name__ == '__main__'):
  main()
