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


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


if __name__ == "__main__":
    main()
