def main():
    w, h, x, y = map(int, input().split())
    print(h * w / 2, end=" ")
    print(1 if 2 * x == w and 2 * y == h else 0)


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


if __name__ == '__main__':
    main()

