#



import sys

# sys.setrecursionlimit(100000)





def input():

    return sys.stdin.readline().strip()





def input_int():

    return int(eval(input()))





def input_int_list():

    return [int(i) for i in input().split()]





def main():

    w, h, x, y = input_int_list()

    area = (w * h) / 2

    bl = (w == 2 * x and h == 2 * y)

    print((area, 1 if bl else 0))

    return





if __name__ == "__main__":

    main()

w, h, x, y = [int(i) for i in input().split()]

pat = 0



if x == w / 2 and y == h / 2:

    pat = 1



print(((w * h) / 2, pat))

#
import sys

# sys.setrecursionlimit(100000)
def input():
    return sys.stdin.readline().strip()


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


def input_int_list():
    return [int(i) for i in input().split()]


def main():
    w, h, x, y = input_int_list()
    area = (w * h) / 2
    bl = w == 2 * x and h == 2 * y
    print((area, 1 if bl else 0))
    return


if __name__ == "__main__":
    main()

w, h, x, y = [int(i) for i in input().split()]
pat = 0
if x == w / 2 and y == h / 2:
    pat = 1
print(((w * h) / 2, pat))

-# -import sys - -# sys.setrecursionlimit(100000) -def input(): -    return sys.stdin.readline().strip() - - -def input_int(): -    return int(eval(input())) - - -def input_int_list(): -    return [int(i) for i in input().split()] - - -def main(): -    w, h, x, y = input_int_list() -    area = (w * h) / 2 -    bl = w == 2 * x and h == 2 * y -    print((area, 1 if bl else 0)) -    return - - -if __name__ == "__main__": -    main() +w, h, x, y = [int(i) for i in input().split()] +pat = 0 +if x == w / 2 and y == h / 2: +    pat = 1 +print(((w * h) / 2, pat))