# でつoO(YOU PLAY WITH THE CARDS YOU'RE DEALT..)
import sys
def main(W, H, x, y):
    print(W * H / 2, 1 if x * 2 == W and y * 2 == H else 0)

if __name__ == '__main__':
    input = sys.stdin.readline
    W, H, x, y = map(int, input().split())
    main(W, H, x, y) import sys sys def main(W, H, x, y):
    print(W * H / 2, 1 if x * 2 == W and y * 2 == H else 0) main print(W * H / 2, 1 if x * 2 == W and y * 2 == H else 0) print W * H / 2 W * H W H 2 1 if x * 2 == W and y * 2 == H else 0 x * 2 == W and y * 2 == H x * 2 == W x * 2 x 2 W y * 2 == H y * 2 y 2 H 1 0 W W H H x x y y if __name__ == '__main__':
    input = sys.stdin.readline
    W, H, x, y = map(int, input().split())
    main(W, H, x, y) __name__ == '__main__' __name__ '__main__' input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y main(W, H, x, y) main W H x y input = sys.stdin.readline sys.stdin.readline input y = map(int, input().split()) map(int, input().split()) y W, H, x, y = map(int, input().split()) map(int, input().split()) W x, y = map(int, input().split()) map(int, input().split()) x def main(W, H, x, y):
    print(W * H / 2, 1 if x * 2 == W and y * 2 == H else 0) def main(W, H, x, y):
    print(W * H / 2, 1 if x * 2 == W and y * 2 == H else 0) main H, x, y = map(int, input().split()) map(int, input().split()) H
# でつoO(YOU PLAY WITH THE CARDS YOU'RE DEALT..)
import sys
def main(W, H, x, y):
    print(W * H / 2, 1 if x * 2 == W and y * 2 == H else 0)

if __name__ == '__main__':
    input = sys.stdin.readline
    W, H, x, y = map(int, input().split())
    main(W, H, x, y)
