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

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

if __name__ == '__main__':
    main()
