import sys
def input(): return sys.stdin.readline().strip()

def resolve():
    w,h,x,y=map(int, input().split())
    ans=w*h*0.5
    if x==w/2 and y==h/2:
        print(ans,1)
    else:
        print(ans,0)
resolve() import sys sys def input(): return sys.stdin.readline().strip() input def resolve():
    w,h,x,y=map(int, input().split())
    ans=w*h*0.5
    if x==w/2 and y==h/2:
        print(ans,1)
    else:
        print(ans,0) resolve w,h,x,y=map(int, input().split()) w map(int, input().split()) map int input().split() ().split () input split h x y ans=w*h*0.5 ans w*h*0.5 w*h w h 0.5 if x==w/2 and y==h/2:
        print(ans,1)
    else:
        print(ans,0) x==w/2 and y==h/2 x==w/2 x w/2 w 2 y==h/2 y h/2 h 2 print(ans,1) print ans 1 print(ans,0) print ans 0 resolve() resolve def input(): return sys.stdin.readline().strip() def input(): return sys.stdin.readline().strip() input def resolve():
    w,h,x,y=map(int, input().split())
    ans=w*h*0.5
    if x==w/2 and y==h/2:
        print(ans,1)
    else:
        print(ans,0) def resolve():
    w,h,x,y=map(int, input().split())
    ans=w*h*0.5
    if x==w/2 and y==h/2:
        print(ans,1)
    else:
        print(ans,0) resolve
import sys
def input(): return sys.stdin.readline().strip()

def resolve():
    w,h,x,y=map(int, input().split())
    ans=w*h*0.5
    if x==w/2 and y==h/2:
        print(ans,1)
    else:
        print(ans,0)
resolve()