# -*- coding: utf-8 -*-
"""
Created on Tue May 12 00:13:44 2020

@author: shinba
"""
import sys

w,h,x,y = map(int,input().split())

if w%2 == 0 and h%2 == 0:
    if w//2 == x and h//2 == y:
        print((h*w)/2,1)
        sys.exit()
        
print(h*w/2,0) """
Created on Tue May 12 00:13:44 2020

@author: shinba
""" import sys sys w,h,x,y = map(int,input().split()) w map(int,input().split()) map int input().split() ().split () input split h x y if w%2 == 0 and h%2 == 0:
    if w//2 == x and h//2 == y:
        print((h*w)/2,1)
        sys.exit()
         w%2 == 0 and h%2 == 0 w%2 == 0 w%2 w 2 0 h%2 == 0 h%2 h 2 0 if w//2 == x and h//2 == y:
        print((h*w)/2,1)
        sys.exit()
         w//2 == x and h//2 == y w//2 == x w//2 w 2 x h//2 == y h//2 h 2 y print((h*w)/2,1) print (h*w)/2 h*w h w 2 1 sys.exit() sys.exit sys exit print(h*w/2,0) print h*w/2 h*w h w 2 0 h,x,y = map(int,input().split()) map(int,input().split()) h x,y = map(int,input().split()) map(int,input().split()) x y = map(int,input().split()) map(int,input().split()) y w,h,x,y = map(int,input().split()) map(int,input().split()) w
# -*- coding: utf-8 -*-
"""
Created on Tue May 12 00:13:44 2020

@author: shinba
"""
import sys

w,h,x,y = map(int,input().split())

if w%2 == 0 and h%2 == 0:
    if w//2 == x and h//2 == y:
        print((h*w)/2,1)
        sys.exit()
        
print(h*w/2,0)