
def solve():
    gx,gy = False, False
    if W/2 == x:
        gx = True
    if H/2 == y:
        gy = True
    ans = W*H/2
#    print(gx,gy)
    if gx and gy:
        print(ans, 1)
    else:
        print(ans, 0)

    

if __name__ == "__main__":
    W,H,x,y = list(map(float, input().split()))
    solve()   def solve():
    gx,gy = False, False
    if W/2 == x:
        gx = True
    if H/2 == y:
        gy = True
    ans = W*H/2
#    print(gx,gy)
    if gx and gy:
        print(ans, 1)
    else:
        print(ans, 0)

     solve gx,gy = False, False gx False gy False if W/2 == x:
        gx = True
     W/2 == x W/2 W 2 x gx = True gx True if H/2 == y:
        gy = True
     H/2 == y H/2 H 2 y gy = True gy True ans = W*H/2 ans W*H/2 W*H W H 2 if gx and gy:
        print(ans, 1)
    else:
        print(ans, 0)

     gx and gy gx gy print(ans, 1) print ans 1 print(ans, 0) print ans 0 if __name__ == "__main__":
    W,H,x,y = list(map(float, input().split()))
    solve()   __name__ == "__main__" __name__ "__main__" W,H,x,y = list(map(float, input().split())) W list(map(float, input().split())) list map(float, input().split()) map float input().split() ().split () input split H x y solve() solve x,y = list(map(float, input().split())) list(map(float, input().split())) x def solve():
    gx,gy = False, False
    if W/2 == x:
        gx = True
    if H/2 == y:
        gy = True
    ans = W*H/2
#    print(gx,gy)
    if gx and gy:
        print(ans, 1)
    else:
        print(ans, 0)

     def solve():
    gx,gy = False, False
    if W/2 == x:
        gx = True
    if H/2 == y:
        gy = True
    ans = W*H/2
#    print(gx,gy)
    if gx and gy:
        print(ans, 1)
    else:
        print(ans, 0)

     solve y = list(map(float, input().split())) list(map(float, input().split())) y W,H,x,y = list(map(float, input().split())) list(map(float, input().split())) W H,x,y = list(map(float, input().split())) list(map(float, input().split())) H

def solve():
    gx,gy = False, False
    if W/2 == x:
        gx = True
    if H/2 == y:
        gy = True
    ans = W*H/2
#    print(gx,gy)
    if gx and gy:
        print(ans, 1)
    else:
        print(ans, 0)

    

if __name__ == "__main__":
    W,H,x,y = list(map(float, input().split()))
    solve()  
