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


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


if __name__ == '__main__':
    main()
