from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
from bisect import bisect_left,bisect_right 
import sys,math,itertools,fractions,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))

n,m,x,y = inpl()
res = 0
if n%2==0 and m%2==0 and n//2==x and m//2==y:
    res = 1
print((n*m)/2,res) from collections import Counter,defaultdict,deque from heapq import heappop,heappush,heapify from bisect import bisect_left,bisect_right import sys,math,itertools,fractions,pprint sys math itertools fractions pprint sys.setrecursionlimit(10**8) sys.setrecursionlimit sys setrecursionlimit 10**8 10 8 mod = 10**9+7 mod 10**9+7 10**9 10 9 7 INF = float('inf') INF float('inf') float 'inf' def inp(): return int(sys.stdin.readline()) inp def inpl(): return list(map(int, sys.stdin.readline().split())) inpl n,m,x,y = inpl() n inpl() inpl m x y res = 0 res 0 if n%2==0 and m%2==0 and n//2==x and m//2==y:
    res = 1 n%2==0 and m%2==0 and n//2==x and m//2==y n%2==0 and m%2==0 and n//2==x n%2==0 and m%2==0 n%2==0 n%2 n 2 0 m%2==0 m%2 m 2 0 n//2==x n//2 n 2 x m//2==y m//2 m 2 y res = 1 res 1 print((n*m)/2,res) print (n*m)/2 n*m n m 2 res def inp(): return int(sys.stdin.readline()) def inp(): return int(sys.stdin.readline()) inp n,m,x,y = inpl() inpl() n m,x,y = inpl() inpl() m x,y = inpl() inpl() x def inpl(): return list(map(int, sys.stdin.readline().split())) def inpl(): return list(map(int, sys.stdin.readline().split())) inpl y = inpl() inpl() y res = 0 0 res res = 1 1 res INF = float('inf') float('inf') INF mod = 10**9+7 10**9+7 mod
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
from bisect import bisect_left,bisect_right 
import sys,math,itertools,fractions,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))

n,m,x,y = inpl()
res = 0
if n%2==0 and m%2==0 and n//2==x and m//2==y:
    res = 1
print((n*m)/2,res)