import sys
import math


def input():
    return sys.stdin.readline().rstrip()


def main():
    W, H, x, y = map(int, input().split())

    t = H*W
    if W/2 ==x and H/2 ==y:
        print(t/2,1)
    else:
        print(t/2,0)


if __name__ == "__main__":
    main() import sys sys import math math def input():
    return sys.stdin.readline().rstrip() input return sys.stdin.readline().rstrip() sys.stdin.readline().rstrip() sys.stdin.readline().rstrip sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline rstrip def main():
    W, H, x, y = map(int, input().split())

    t = H*W
    if W/2 ==x and H/2 ==y:
        print(t/2,1)
    else:
        print(t/2,0) main W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y t = H*W t H*W H W if W/2 ==x and H/2 ==y:
        print(t/2,1)
    else:
        print(t/2,0) W/2 ==x and H/2 ==y W/2 ==x W/2 W 2 x H/2 ==y H/2 H 2 y print(t/2,1) print t/2 t 2 1 print(t/2,0) print t/2 t 2 0 if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def input():
    return sys.stdin.readline().rstrip() def input():
    return sys.stdin.readline().rstrip() input def main():
    W, H, x, y = map(int, input().split())

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

    t = H*W
    if W/2 ==x and H/2 ==y:
        print(t/2,1)
    else:
        print(t/2,0) main
import sys
import math


def input():
    return sys.stdin.readline().rstrip()


def main():
    W, H, x, y = map(int, input().split())

    t = H*W
    if W/2 ==x and H/2 ==y:
        print(t/2,1)
    else:
        print(t/2,0)


if __name__ == "__main__":
    main()
