# -*- coding: utf-8 -*-

def main():

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

    ans = []

    if x == W / 2 and y == H / 2:
        ans.append(W * H / 2)
        ans.append(1)

    else:
        ans.append(W * H / 2)
        ans.append(0)

    print(ans[0], ans[1])


if __name__ == "__main__":
    main() def main():

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

    ans = []

    if x == W / 2 and y == H / 2:
        ans.append(W * H / 2)
        ans.append(1)

    else:
        ans.append(W * H / 2)
        ans.append(0)

    print(ans[0], ans[1]) main W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y ans = [] ans [] if x == W / 2 and y == H / 2:
        ans.append(W * H / 2)
        ans.append(1)

    else:
        ans.append(W * H / 2)
        ans.append(0)

     x == W / 2 and y == H / 2 x == W / 2 x W / 2 W 2 y == H / 2 y H / 2 H 2 ans.append(W * H / 2) ans.append ans append W * H / 2 W * H W H 2 ans.append(1) ans.append ans append 1 ans.append(W * H / 2) ans.append ans append W * H / 2 W * H W H 2 ans.append(0) ans.append ans append 0 print(ans[0], ans[1]) print ans[0] ans 0 ans[1] ans 1 if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():

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

    ans = []

    if x == W / 2 and y == H / 2:
        ans.append(W * H / 2)
        ans.append(1)

    else:
        ans.append(W * H / 2)
        ans.append(0)

    print(ans[0], ans[1]) def main():

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

    ans = []

    if x == W / 2 and y == H / 2:
        ans.append(W * H / 2)
        ans.append(1)

    else:
        ans.append(W * H / 2)
        ans.append(0)

    print(ans[0], ans[1]) main
# -*- coding: utf-8 -*-

def main():

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

    ans = []

    if x == W / 2 and y == H / 2:
        ans.append(W * H / 2)
        ans.append(1)

    else:
        ans.append(W * H / 2)
        ans.append(0)

    print(ans[0], ans[1])


if __name__ == "__main__":
    main()