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


if __name__ == "__main__":
    main() def main():
    W, H, x, y = map(int, input().split())
    ans = 0
    if x == W / 2 and y == H / 2:
        ans = 1
    print(W * H / 2, ans) 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 = 0 ans 0 if x == W / 2 and y == H / 2:
        ans = 1
     x == W / 2 and y == H / 2 x == W / 2 x W / 2 W 2 y == H / 2 y H / 2 H 2 ans = 1 ans 1 print(W * H / 2, ans) print W * H / 2 W * H W H 2 ans if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    W, H, x, y = map(int, input().split())
    ans = 0
    if x == W / 2 and y == H / 2:
        ans = 1
    print(W * H / 2, ans) def main():
    W, H, x, y = map(int, input().split())
    ans = 0
    if x == W / 2 and y == H / 2:
        ans = 1
    print(W * H / 2, ans) main
def main():
    W, H, x, y = map(int, input().split())
    ans = 0
    if x == W / 2 and y == H / 2:
        ans = 1
    print(W * H / 2, ans)


if __name__ == "__main__":
    main()
