def resolve():
    '''
    code here
    '''
    W, H, x, y = [int(item) for item in input().split()]

    if 2*x == W and 2*y == H:
        res = 1
    else:
        res = 0

    print(W*H/2, res)


if __name__ == "__main__":
    resolve() def resolve():
    '''
    code here
    '''
    W, H, x, y = [int(item) for item in input().split()]

    if 2*x == W and 2*y == H:
        res = 1
    else:
        res = 0

    print(W*H/2, res) resolve '''
    code here
    ''' int(item) for item in input().split() for item in input().split() item input().split() ().split () input split for item in input().split() int(item) int item W, H, x, y = [int(item) for item in input().split()] W [int(item) for item in input().split()] H x y if 2*x == W and 2*y == H:
        res = 1
    else:
        res = 0

     2*x == W and 2*y == H 2*x == W 2*x 2 x W 2*y == H 2*y 2 y H res = 1 res 1 res = 0 res 0 print(W*H/2, res) print W*H/2 W*H W H 2 res if __name__ == "__main__":
    resolve() __name__ == "__main__" __name__ "__main__" resolve() resolve def resolve():
    '''
    code here
    '''
    W, H, x, y = [int(item) for item in input().split()]

    if 2*x == W and 2*y == H:
        res = 1
    else:
        res = 0

    print(W*H/2, res) def resolve():
    '''
    code here
    '''
    W, H, x, y = [int(item) for item in input().split()]

    if 2*x == W and 2*y == H:
        res = 1
    else:
        res = 0

    print(W*H/2, res) resolve
def resolve():
    '''
    code here
    '''
    W, H, x, y = [int(item) for item in input().split()]

    if 2*x == W and 2*y == H:
        res = 1
    else:
        res = 0

    print(W*H/2, res)


if __name__ == "__main__":
    resolve()
