def main():
    W, H, x, y = map(int, input().split())
    area = (H*W)/2
    mid_x, mid_y = W/2, H/2
    if x == mid_x and y == mid_y:
        ans = 1
    else:
        ans = 0
    print(area, ans)

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

if __name__ == "__main__":
    main()
