#!/usr/bin/env python3
import sys


def solve(W: int, H: int, x: int, y: int):
    print(W * H / 2, 1 if (2 * x, 2 * y) == (W, H) else 0)


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    W = int(next(tokens))  # type: int
    H = int(next(tokens))  # type: int
    x = int(next(tokens))  # type: int
    y = int(next(tokens))  # type: int
    solve(W, H, x, y)


if __name__ == '__main__':
    main() import sys sys def solve(W: int, H: int, x: int, y: int):
    print(W * H / 2, 1 if (2 * x, 2 * y) == (W, H) else 0) solve print(W * H / 2, 1 if (2 * x, 2 * y) == (W, H) else 0) print W * H / 2 W * H W H 2 1 if (2 * x, 2 * y) == (W, H) else 0 (2 * x, 2 * y) == (W, H) (2 * x, 2 * y) 2 * x 2 x 2 * y 2 y (W, H) W H 1 0 W: int W H: int H x: int x y: int y def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    W = int(next(tokens))  # type: int
    H = int(next(tokens))  # type: int
    x = int(next(tokens))  # type: int
    y = int(next(tokens))  # type: int
    solve(W, H, x, y) main def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
     iterate_tokens for line in sys.stdin:
            for word in line.split():
                yield word
     line sys.stdin sys stdin for word in line.split():
                yield word
     word line.split() line.split line split yield word word tokens = iterate_tokens() tokens iterate_tokens() iterate_tokens W = int(next(tokens)) W int(next(tokens)) int next(tokens) next tokens H = int(next(tokens)) H int(next(tokens)) int next(tokens) next tokens x = int(next(tokens)) x int(next(tokens)) int next(tokens) next tokens y = int(next(tokens)) y int(next(tokens)) int next(tokens) next tokens solve(W, H, x, y) solve W H x y if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def solve(W: int, H: int, x: int, y: int):
    print(W * H / 2, 1 if (2 * x, 2 * y) == (W, H) else 0) def solve(W: int, H: int, x: int, y: int):
    print(W * H / 2, 1 if (2 * x, 2 * y) == (W, H) else 0) solve def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    W = int(next(tokens))  # type: int
    H = int(next(tokens))  # type: int
    x = int(next(tokens))  # type: int
    y = int(next(tokens))  # type: int
    solve(W, H, x, y) def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    W = int(next(tokens))  # type: int
    H = int(next(tokens))  # type: int
    x = int(next(tokens))  # type: int
    y = int(next(tokens))  # type: int
    solve(W, H, x, y) main
#!/usr/bin/env python3
import sys


def solve(W: int, H: int, x: int, y: int):
    print(W * H / 2, 1 if (2 * x, 2 * y) == (W, H) else 0)


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    W = int(next(tokens))  # type: int
    H = int(next(tokens))  # type: int
    x = int(next(tokens))  # type: int
    y = int(next(tokens))  # type: int
    solve(W, H, x, y)


if __name__ == '__main__':
    main()
