import sys
input=sys.stdin.buffer.readline
import os
from math import*


w,h,x,y=map(int,input().split())
area=w*h
#ans1=min((w*y),(area-(w*y)))
#ans2=min((x*h),(area-(x*h)))
#if ans1==ans2:
#	print(ans1,1)
#else:
#	print(max(ans1,ans2),0)
print((area/2),1 if x==w/2 and y==h/2 else 0)
 import sys sys input=sys.stdin.buffer.readline input sys.stdin.buffer.readline sys.stdin.buffer sys.stdin sys stdin buffer readline import os os from math import* w,h,x,y=map(int,input().split()) w map(int,input().split()) map int input().split() ().split () input split h x y area=w*h area w*h w h print((area/2),1 if x==w/2 and y==h/2 else 0) print area/2 area 2 1 if x==w/2 and y==h/2 else 0 x==w/2 and y==h/2 x==w/2 x w/2 w 2 y==h/2 y h/2 h 2 1 0 y=map(int,input().split()) map(int,input().split()) y w,h,x,y=map(int,input().split()) map(int,input().split()) w area=w*h w*h area x,y=map(int,input().split()) map(int,input().split()) x input=sys.stdin.buffer.readline sys.stdin.buffer.readline input h,x,y=map(int,input().split()) map(int,input().split()) h
import sys
input=sys.stdin.buffer.readline
import os
from math import*


w,h,x,y=map(int,input().split())
area=w*h
#ans1=min((w*y),(area-(w*y)))
#ans2=min((x*h),(area-(x*h)))
#if ans1==ans2:
#	print(ans1,1)
#else:
#	print(max(ans1,ans2),0)
print((area/2),1 if x==w/2 and y==h/2 else 0)

