LI = lambda: list(map(int, input().split()))

W, H, x, y = LI()


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


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

W, H, x, y = LI()


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


if __name__ == "__main__":
    main()
