import sys
input = sys.stdin.readline


def readstr():
    return input().strip()


def readint():
    return int(input())


def readnums():
    return map(int, input().split())


def readstrs():
    return input().split()


def main():
    W, H, x, y = readnums()
    ans = W * H / 2
    if x == W / 2 and y == H / 2:
        print(ans, 1)
    else:
        print(ans, 0)


if __name__ == "__main__":
    main() import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline def readstr():
    return input().strip() readstr return input().strip() input().strip() ().strip () input strip def readint():
    return int(input()) readint return int(input()) int(input()) int input() input def readnums():
    return map(int, input().split()) readnums return map(int, input().split()) map(int, input().split()) map int input().split() ().split () input split def readstrs():
    return input().split() readstrs return input().split() input().split() ().split () input split def main():
    W, H, x, y = readnums()
    ans = W * H / 2
    if x == W / 2 and y == H / 2:
        print(ans, 1)
    else:
        print(ans, 0) main W, H, x, y = readnums() W readnums() readnums H x y ans = W * H / 2 ans W * H / 2 W * H W H 2 if x == W / 2 and y == H / 2:
        print(ans, 1)
    else:
        print(ans, 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(ans, 1) print ans 1 print(ans, 0) print ans 0 if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def readint():
    return int(input()) def readint():
    return int(input()) readint def readnums():
    return map(int, input().split()) def readnums():
    return map(int, input().split()) readnums def readstr():
    return input().strip() def readstr():
    return input().strip() readstr def readstrs():
    return input().split() def readstrs():
    return input().split() readstrs input = sys.stdin.readline sys.stdin.readline input def main():
    W, H, x, y = readnums()
    ans = W * H / 2
    if x == W / 2 and y == H / 2:
        print(ans, 1)
    else:
        print(ans, 0) def main():
    W, H, x, y = readnums()
    ans = W * H / 2
    if x == W / 2 and y == H / 2:
        print(ans, 1)
    else:
        print(ans, 0) main
import sys
input = sys.stdin.readline


def readstr():
    return input().strip()


def readint():
    return int(input())


def readnums():
    return map(int, input().split())


def readstrs():
    return input().split()


def main():
    W, H, x, y = readnums()
    ans = W * H / 2
    if x == W / 2 and y == H / 2:
        print(ans, 1)
    else:
        print(ans, 0)


if __name__ == "__main__":
    main()
