from sys import exit
import math
import collections
ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

w,h,x,y = mi()
ans = w * h / 2
check = 0
if x == w / 2 and y == h / 2:
    check = 1

print('{} {}'.format(ans,check)) from sys import exit import math math import collections collections ii = lambda : int(input()) ii lambda : int(input()) int(input()) int input() input mi = lambda : map(int,input().split()) mi lambda : map(int,input().split()) map(int,input().split()) map int input().split() ().split () input split li = lambda : list(map(int,input().split())) li lambda : list(map(int,input().split())) list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split w,h,x,y = mi() w mi() mi h x y ans = w * h / 2 ans w * h / 2 w * h w h 2 check = 0 check 0 if x == w / 2 and y == h / 2:
    check = 1 x == w / 2 and y == h / 2 x == w / 2 x w / 2 w 2 y == h / 2 y h / 2 h 2 check = 1 check 1 print('{} {}'.format(ans,check)) print '{} {}'.format(ans,check) '{} {}'.format '{} {}' format ans check li = lambda : list(map(int,input().split())) lambda : list(map(int,input().split())) li check = 1 1 check mi = lambda : map(int,input().split()) lambda : map(int,input().split()) mi ans = w * h / 2 w * h / 2 ans check = 0 0 check y = mi() mi() y ii = lambda : int(input()) lambda : int(input()) ii h,x,y = mi() mi() h x,y = mi() mi() x w,h,x,y = mi() mi() w
from sys import exit
import math
import collections
ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

w,h,x,y = mi()
ans = w * h / 2
check = 0
if x == w / 2 and y == h / 2:
    check = 1

print('{} {}'.format(ans,check))