def solve(w, h, x, y):
    #   h|-----|--|
    #    |-----|--|
    #    |-----|--|
    #   y|-----o--|
    #    |-----|--|
    #    0     x  w

    is_multi = (x == w/2) and (y == h/2)
    return "{:05f}".format(float((h * w)/2)), is_multi


if __name__ == '__main__':
    w, h, x, y = map(int, input().split())
    area, is_multi = solve(w, h, x, y)
    print(area, int(is_multi)) def solve(w, h, x, y):
    #   h|-----|--|
    #    |-----|--|
    #    |-----|--|
    #   y|-----o--|
    #    |-----|--|
    #    0     x  w

    is_multi = (x == w/2) and (y == h/2)
    return "{:05f}".format(float((h * w)/2)), is_multi solve is_multi = (x == w/2) and (y == h/2) is_multi (x == w/2) and (y == h/2) x == w/2 x w/2 w 2 y == h/2 y h/2 h 2 return "{:05f}".format(float((h * w)/2)), is_multi return "{:05f}".format(float((h * w)/2)), is_multi "{:05f}".format(float((h * w)/2)) "{:05f}".format "{:05f}" format float((h * w)/2) float (h * w)/2 h * w h w 2 is_multi w w h h x x y y if __name__ == '__main__':
    w, h, x, y = map(int, input().split())
    area, is_multi = solve(w, h, x, y)
    print(area, int(is_multi)) __name__ == '__main__' __name__ '__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, is_multi = solve(w, h, x, y) area solve(w, h, x, y) solve w h x y is_multi print(area, int(is_multi)) print area int(is_multi) int is_multi area, is_multi = solve(w, h, x, y) solve(w, h, x, y) area h, x, y = map(int, input().split()) map(int, input().split()) h x, y = map(int, input().split()) map(int, input().split()) x y = map(int, input().split()) map(int, input().split()) y def solve(w, h, x, y):
    #   h|-----|--|
    #    |-----|--|
    #    |-----|--|
    #   y|-----o--|
    #    |-----|--|
    #    0     x  w

    is_multi = (x == w/2) and (y == h/2)
    return "{:05f}".format(float((h * w)/2)), is_multi def solve(w, h, x, y):
    #   h|-----|--|
    #    |-----|--|
    #    |-----|--|
    #   y|-----o--|
    #    |-----|--|
    #    0     x  w

    is_multi = (x == w/2) and (y == h/2)
    return "{:05f}".format(float((h * w)/2)), is_multi solve is_multi = solve(w, h, x, y) solve(w, h, x, y) is_multi w, h, x, y = map(int, input().split()) map(int, input().split()) w
def solve(w, h, x, y):
    #   h|-----|--|
    #    |-----|--|
    #    |-----|--|
    #   y|-----o--|
    #    |-----|--|
    #    0     x  w

    is_multi = (x == w/2) and (y == h/2)
    return "{:05f}".format(float((h * w)/2)), is_multi


if __name__ == '__main__':
    w, h, x, y = map(int, input().split())
    area, is_multi = solve(w, h, x, y)
    print(area, int(is_multi))
