#!/usr/bin/env python3

import sys

input = iter(sys.stdin.read().splitlines()).__next__

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

area = W*H / 2
if x*2 == W and y*2 == H:
   print('%f 1' % (area))
else:
   print('%f 0' % (area))
 import sys sys input = iter(sys.stdin.read().splitlines()).__next__ input iter(sys.stdin.read().splitlines()).__next__ (sys.stdin.read().splitlines()) iter sys.stdin.read().splitlines() sys.stdin.read().splitlines sys.stdin.read() sys.stdin.read sys.stdin sys stdin read splitlines __next__ W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y area = W*H / 2 area W*H / 2 W*H W H 2 if x*2 == W and y*2 == H:
   print('%f 1' % (area))
else:
   print('%f 0' % (area)) x*2 == W and y*2 == H x*2 == W x*2 x 2 W y*2 == H y*2 y 2 H print('%f 1' % (area)) print '%f 1' % (area) '%f 1' area print('%f 0' % (area)) print '%f 0' % (area) '%f 0' area x, y = map(int, input().split()) map(int, input().split()) x area = W*H / 2 W*H / 2 area y = map(int, input().split()) map(int, input().split()) y input = iter(sys.stdin.read().splitlines()).__next__ iter(sys.stdin.read().splitlines()).__next__ input H, x, y = map(int, input().split()) map(int, input().split()) H W, H, x, y = map(int, input().split()) map(int, input().split()) W
#!/usr/bin/env python3

import sys

input = iter(sys.stdin.read().splitlines()).__next__

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

area = W*H / 2
if x*2 == W and y*2 == H:
   print('%f 1' % (area))
else:
   print('%f 0' % (area))

