from sys import stdin, setrecursionlimit


def main():
    input = stdin.buffer.readline
    W, H, x, y = map(int, input().split())
    if W == 2 * x and H == 2 * y:
        print(W * H / 2, 1)
    else:
        print(W * H / 2, 0)


if __name__ == "__main__":
    setrecursionlimit(10000)
    main() from sys import stdin, setrecursionlimit def main():
    input = stdin.buffer.readline
    W, H, x, y = map(int, input().split())
    if W == 2 * x and H == 2 * y:
        print(W * H / 2, 1)
    else:
        print(W * H / 2, 0) main input = stdin.buffer.readline input stdin.buffer.readline stdin.buffer stdin buffer readline W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y if W == 2 * x and H == 2 * y:
        print(W * H / 2, 1)
    else:
        print(W * H / 2, 0) W == 2 * x and H == 2 * y W == 2 * x W 2 * x 2 x H == 2 * y H 2 * y 2 y print(W * H / 2, 1) print W * H / 2 W * H W H 2 1 print(W * H / 2, 0) print W * H / 2 W * H W H 2 0 if __name__ == "__main__":
    setrecursionlimit(10000)
    main() __name__ == "__main__" __name__ "__main__" setrecursionlimit(10000) setrecursionlimit 10000 main() main def main():
    input = stdin.buffer.readline
    W, H, x, y = map(int, input().split())
    if W == 2 * x and H == 2 * y:
        print(W * H / 2, 1)
    else:
        print(W * H / 2, 0) def main():
    input = stdin.buffer.readline
    W, H, x, y = map(int, input().split())
    if W == 2 * x and H == 2 * y:
        print(W * H / 2, 1)
    else:
        print(W * H / 2, 0) main
from sys import stdin, setrecursionlimit


def main():
    input = stdin.buffer.readline
    W, H, x, y = map(int, input().split())
    if W == 2 * x and H == 2 * y:
        print(W * H / 2, 1)
    else:
        print(W * H / 2, 0)


if __name__ == "__main__":
    setrecursionlimit(10000)
    main()
