S=lambda:input()
I=lambda:int(input())
L=lambda:list(map(int,input().split()))
LS=lambda:list(map(str,input().split()))

def main():
    w,h,x,y=L()
    print(w*h/2,end=" ")
    print(1 if w/2==x and h/2==y else 0)
    

if __name__=='__main__':
    main() S=lambda:input() S lambda:input() input() input I=lambda:int(input()) I lambda:int(input()) int(input()) int input() input L=lambda:list(map(int,input().split())) L lambda:list(map(int,input().split())) list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split LS=lambda:list(map(str,input().split())) LS lambda:list(map(str,input().split())) list(map(str,input().split())) list map(str,input().split()) map str input().split() ().split () input split def main():
    w,h,x,y=L()
    print(w*h/2,end=" ")
    print(1 if w/2==x and h/2==y else 0)
     main w,h,x,y=L() w L() L h x y print(w*h/2,end=" ") print w*h/2 w*h w h 2 end=" " end " " print(1 if w/2==x and h/2==y else 0) print 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 if __name__=='__main__':
    main() __name__=='__main__' __name__ '__main__' main() main L=lambda:list(map(int,input().split())) lambda:list(map(int,input().split())) L def main():
    w,h,x,y=L()
    print(w*h/2,end=" ")
    print(1 if w/2==x and h/2==y else 0)
     def main():
    w,h,x,y=L()
    print(w*h/2,end=" ")
    print(1 if w/2==x and h/2==y else 0)
     main S=lambda:input() lambda:input() S I=lambda:int(input()) lambda:int(input()) I LS=lambda:list(map(str,input().split())) lambda:list(map(str,input().split())) LS
S=lambda:input()
I=lambda:int(input())
L=lambda:list(map(int,input().split()))
LS=lambda:list(map(str,input().split()))

def main():
    w,h,x,y=L()
    print(w*h/2,end=" ")
    print(1 if w/2==x and h/2==y else 0)
    

if __name__=='__main__':
    main()