def main():

    W, H, x, y = [int(i) for i in input().split()]

    if (W/2 == x) & (H/2 == y):
        j = 1
    else:
        j = 0
    print(W*H/2, j)


if __name__ == "__main__":
    main() def main():

    W, H, x, y = [int(i) for i in input().split()]

    if (W/2 == x) & (H/2 == y):
        j = 1
    else:
        j = 0
    print(W*H/2, j) main int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i W, H, x, y = [int(i) for i in input().split()] W [int(i) for i in input().split()] H x y if (W/2 == x) & (H/2 == y):
        j = 1
    else:
        j = 0
     (W/2 == x) & (H/2 == y) W/2 == x W/2 W 2 x H/2 == y H/2 H 2 y j = 1 j 1 j = 0 j 0 print(W*H/2, j) print W*H/2 W*H W H 2 j if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():

    W, H, x, y = [int(i) for i in input().split()]

    if (W/2 == x) & (H/2 == y):
        j = 1
    else:
        j = 0
    print(W*H/2, j) def main():

    W, H, x, y = [int(i) for i in input().split()]

    if (W/2 == x) & (H/2 == y):
        j = 1
    else:
        j = 0
    print(W*H/2, j) main
def main():

    W, H, x, y = [int(i) for i in input().split()]

    if (W/2 == x) & (H/2 == y):
        j = 1
    else:
        j = 0
    print(W*H/2, j)


if __name__ == "__main__":
    main()
