if __name__=="__main__":
    w,h,x,y=[int(x) for x in input().split()]

    a=(w*h)/2

    print(a,end=' ')
    
    if x/1==w/2 and y/1==h/2:
        print(1)
    else: print(0) if __name__=="__main__":
    w,h,x,y=[int(x) for x in input().split()]

    a=(w*h)/2

    print(a,end=' ')
    
    if x/1==w/2 and y/1==h/2:
        print(1)
    else: print(0) __name__=="__main__" __name__ "__main__" int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x w,h,x,y=[int(x) for x in input().split()] w [int(x) for x in input().split()] h x y a=(w*h)/2 a (w*h)/2 w*h w h 2 print(a,end=' ') print a end=' ' end ' ' if x/1==w/2 and y/1==h/2:
        print(1)
    else: print(0) x/1==w/2 and y/1==h/2 x/1==w/2 x/1 x 1 w/2 w 2 y/1==h/2 y/1 y 1 h/2 h 2 print(1) print 1 h,x,y=[int(x) for x in input().split()] [int(x) for x in input().split()] h y=[int(x) for x in input().split()] [int(x) for x in input().split()] y x,y=[int(x) for x in input().split()] [int(x) for x in input().split()] x w,h,x,y=[int(x) for x in input().split()] [int(x) for x in input().split()] w a=(w*h)/2 (w*h)/2 a
if __name__=="__main__":
    w,h,x,y=[int(x) for x in input().split()]

    a=(w*h)/2

    print(a,end=' ')
    
    if x/1==w/2 and y/1==h/2:
        print(1)
    else: print(0)
