#!/usr/bin/env python3


def main():
    W, H, x, y = map(int, input().split())
    area = W * H / 2
    multi = int((x == W / 2) and (y == H / 2))

    print(area, multi)


if __name__ == '__main__':
    main() def main():
    W, H, x, y = map(int, input().split())
    area = W * H / 2
    multi = int((x == W / 2) and (y == H / 2))

    print(area, multi) main W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y area = W * H / 2 area W * H / 2 W * H W H 2 multi = int((x == W / 2) and (y == H / 2)) multi int((x == W / 2) and (y == H / 2)) int (x == W / 2) and (y == H / 2) x == W / 2 x W / 2 W 2 y == H / 2 y H / 2 H 2 print(area, multi) print area multi if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    W, H, x, y = map(int, input().split())
    area = W * H / 2
    multi = int((x == W / 2) and (y == H / 2))

    print(area, multi) def main():
    W, H, x, y = map(int, input().split())
    area = W * H / 2
    multi = int((x == W / 2) and (y == H / 2))

    print(area, multi) main
#!/usr/bin/env python3


def main():
    W, H, x, y = map(int, input().split())
    area = W * H / 2
    multi = int((x == W / 2) and (y == H / 2))

    print(area, multi)


if __name__ == '__main__':
    main()
