#2つの長方形，ではない

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

if x==W/2  and y==H/2:

    print((W*H/2,1))

else:

    print((W*H/2,0))
import sys

input = sys.stdin.readline



def I(): return int(eval(input()))

def MI(): return list(map(int, input().split()))

def LI(): return list(map(int, input().split()))



def main():

    mod=10**9+7

    W,H,x,y=MI()

    ans=(W*H)/2

    if x==W/2 and y==H/2:

        print((ans,1))

    else:

        print((ans,0))

    

    



main()

# 2つの長方形，ではない
W, H, x, y = list(map(int, input().split()))
if x == W / 2 and y == H / 2:
    print((W * H / 2, 1))
else:
    print((W * H / 2, 0))

import sys

input = sys.stdin.readline


def I():
    return int(eval(input()))


def MI():
    return list(map(int, input().split()))


def LI():
    return list(map(int, input().split()))


def main():
    mod = 10**9 + 7
    W, H, x, y = MI()
    ans = (W * H) / 2
    if x == W / 2 and y == H / 2:
        print((ans, 1))
    else:
        print((ans, 0))


main()

-# 2つの長方形，ではない -W, H, x, y = list(map(int, input().split())) -if x == W / 2 and y == H / 2: -    print((W * H / 2, 1)) -else: -    print((W * H / 2, 0)) +import sys + +input = sys.stdin.readline + + +def I(): +    return int(eval(input())) + + +def MI(): +    return list(map(int, input().split())) + + +def LI(): +    return list(map(int, input().split())) + + +def main(): +    mod = 10**9 + 7 +    W, H, x, y = MI() +    ans = (W * H) / 2 +    if x == W / 2 and y == H / 2: +        print((ans, 1)) +    else: +        print((ans, 0)) + + +main()