def resolve():
    W, H, x, y = [int(i) for i in input().split()]
    if W / 2 == x and H / 2 == y:
        flg = 1
    else:
        flg = 0
    print(*[W * H / 2, flg])


resolve() def resolve():
    W, H, x, y = [int(i) for i in input().split()]
    if W / 2 == x and H / 2 == y:
        flg = 1
    else:
        flg = 0
    print(*[W * H / 2, flg]) resolve int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i W, H, x, y = [int(i) for i in input().split()] W [int(i) for i in input().split()] H x y if W / 2 == x and H / 2 == y:
        flg = 1
    else:
        flg = 0
     W / 2 == x and H / 2 == y W / 2 == x W / 2 W 2 x H / 2 == y H / 2 H 2 y flg = 1 flg 1 flg = 0 flg 0 print(*[W * H / 2, flg]) print *[W * H / 2, flg] [W * H / 2, flg] W * H / 2 W * H W H 2 flg resolve() resolve def resolve():
    W, H, x, y = [int(i) for i in input().split()]
    if W / 2 == x and H / 2 == y:
        flg = 1
    else:
        flg = 0
    print(*[W * H / 2, flg]) def resolve():
    W, H, x, y = [int(i) for i in input().split()]
    if W / 2 == x and H / 2 == y:
        flg = 1
    else:
        flg = 0
    print(*[W * H / 2, flg]) resolve
def resolve():
    W, H, x, y = [int(i) for i in input().split()]
    if W / 2 == x and H / 2 == y:
        flg = 1
    else:
        flg = 0
    print(*[W * H / 2, flg])


resolve()
