def readinput():
    w,h,x,y=map(int,input().split())
    return w,h,x,y

def main(w,h,x,y):
    s=w*h/2
    center=0
    if 2*x==w and 2*y==h:
        center=1
    return s,center

if __name__=='__main__':
    w,h,x,y=readinput()
    ans=main(w,h,x,y)
    print(ans[0],ans[1]) def readinput():
    w,h,x,y=map(int,input().split())
    return w,h,x,y readinput w,h,x,y=map(int,input().split()) w map(int,input().split()) map int input().split() ().split () input split h x y return w,h,x,y return w,h,x,y w h x y def main(w,h,x,y):
    s=w*h/2
    center=0
    if 2*x==w and 2*y==h:
        center=1
    return s,center main s=w*h/2 s w*h/2 w*h w h 2 center=0 center 0 if 2*x==w and 2*y==h:
        center=1
     2*x==w and 2*y==h 2*x==w 2*x 2 x w 2*y==h 2*y 2 y h center=1 center 1 return s,center return s,center s center w w h h x x y y if __name__=='__main__':
    w,h,x,y=readinput()
    ans=main(w,h,x,y)
    print(ans[0],ans[1]) __name__=='__main__' __name__ '__main__' w,h,x,y=readinput() w readinput() readinput h x y ans=main(w,h,x,y) ans main(w,h,x,y) main w h x y print(ans[0],ans[1]) print ans[0] ans 0 ans[1] ans 1 def main(w,h,x,y):
    s=w*h/2
    center=0
    if 2*x==w and 2*y==h:
        center=1
    return s,center def main(w,h,x,y):
    s=w*h/2
    center=0
    if 2*x==w and 2*y==h:
        center=1
    return s,center main h,x,y=readinput() readinput() h ans=main(w,h,x,y) main(w,h,x,y) ans y=readinput() readinput() y x,y=readinput() readinput() x def readinput():
    w,h,x,y=map(int,input().split())
    return w,h,x,y def readinput():
    w,h,x,y=map(int,input().split())
    return w,h,x,y readinput w,h,x,y=readinput() readinput() w
def readinput():
    w,h,x,y=map(int,input().split())
    return w,h,x,y

def main(w,h,x,y):
    s=w*h/2
    center=0
    if 2*x==w and 2*y==h:
        center=1
    return s,center

if __name__=='__main__':
    w,h,x,y=readinput()
    ans=main(w,h,x,y)
    print(ans[0],ans[1])
