def solve(string):

    w, h, x, y = list(map(int, string.split()))

    f = 1 if x == w / 2 and y == h / 2 else 0

    return str("{} {}".format(w * h / 2, f))





if __name__ == '__main__':

    print((solve(eval(input()))))

def solve(string):

    w, h, x, y = list(map(int, string.split()))

    f = 1 if 2 * x == w and 2 * y == h else 0

    return str("{} {}".format(w * h / 2, f))





if __name__ == '__main__':

    print((solve(eval(input()))))

def solve(string):
    w, h, x, y = list(map(int, string.split()))
    f = 1 if x == w / 2 and y == h / 2 else 0
    return str("{} {}".format(w * h / 2, f))


if __name__ == "__main__":
    print((solve(eval(input()))))

def solve(string):
    w, h, x, y = list(map(int, string.split()))
    f = 1 if 2 * x == w and 2 * y == h else 0
    return str("{} {}".format(w * h / 2, f))


if __name__ == "__main__":
    print((solve(eval(input()))))

-    f = 1 if x == w / 2 and y == h / 2 else 0 +    f = 1 if 2 * x == w and 2 * y == h else 0