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

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


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

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

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

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

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


if __name__ == '__main__':
    main()
