import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return map(int, input().split())
sys.setrecursionlimit(10**9)

W, H, x, y = mapint()
if x==W/2 and y==H/2:
    print(W*H/2, 1)
else:
    print(W*H/2, 0) import sys sys def input(): return sys.stdin.readline().strip() input def mapint(): return map(int, input().split()) mapint sys.setrecursionlimit(10**9) sys.setrecursionlimit sys setrecursionlimit 10**9 10 9 W, H, x, y = mapint() W mapint() mapint H x y if x==W/2 and y==H/2:
    print(W*H/2, 1)
else:
    print(W*H/2, 0) x==W/2 and y==H/2 x==W/2 x W/2 W 2 y==H/2 y H/2 H 2 print(W*H/2, 1) print W*H/2 W*H W H 2 1 print(W*H/2, 0) print W*H/2 W*H W H 2 0 def input(): return sys.stdin.readline().strip() def input(): return sys.stdin.readline().strip() input W, H, x, y = mapint() mapint() W y = mapint() mapint() y def mapint(): return map(int, input().split()) def mapint(): return map(int, input().split()) mapint H, x, y = mapint() mapint() H x, y = mapint() mapint() x
import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return map(int, input().split())
sys.setrecursionlimit(10**9)

W, H, x, y = mapint()
if x==W/2 and y==H/2:
    print(W*H/2, 1)
else:
    print(W*H/2, 0)