def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
def ism():return map(str,input().split())
def isl():return list(map(str,input().split()))

w,h,x,y = iim()
area = w*h/2

f = 1 if w/2 == x and h/2 == y else 0
print(area,f) def ii():return int(input()) ii def iim():return map(int,input().split()) iim def iil():return list(map(int,input().split())) iil def ism():return map(str,input().split()) ism def isl():return list(map(str,input().split())) isl w,h,x,y = iim() w iim() iim h x y area = w*h/2 area w*h/2 w*h w h 2 f = 1 if w/2 == x and h/2 == y else 0 f 1 if w/2 == x and h/2 == y else 0 w/2 == x and h/2 == y w/2 == x w/2 w 2 x h/2 == y h/2 h 2 y 1 0 print(area,f) print area f y = iim() iim() y f = 1 if w/2 == x and h/2 == y else 0 1 if w/2 == x and h/2 == y else 0 f h,x,y = iim() iim() h def ii():return int(input()) def ii():return int(input()) ii def isl():return list(map(str,input().split())) def isl():return list(map(str,input().split())) isl def iim():return map(int,input().split()) def iim():return map(int,input().split()) iim area = w*h/2 w*h/2 area def iil():return list(map(int,input().split())) def iil():return list(map(int,input().split())) iil x,y = iim() iim() x def ism():return map(str,input().split()) def ism():return map(str,input().split()) ism w,h,x,y = iim() iim() w
def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
def ism():return map(str,input().split())
def isl():return list(map(str,input().split()))

w,h,x,y = iim()
area = w*h/2

f = 1 if w/2 == x and h/2 == y else 0
print(area,f)