def rectangle_cutting(w, h, x, y):

    a = 0
    ans = (w*h) / 2

    if x*2 == w and y*2 == h:
        a = 1

    return ans, a
def main():
    w, h, x, y = map(int, input().split())
    print(*(rectangle_cutting(w, h, x, y)))

if __name__ == '__main__':
    main() def rectangle_cutting(w, h, x, y):

    a = 0
    ans = (w*h) / 2

    if x*2 == w and y*2 == h:
        a = 1

    return ans, a rectangle_cutting a = 0 a 0 ans = (w*h) / 2 ans (w*h) / 2 w*h w h 2 if x*2 == w and y*2 == h:
        a = 1

     x*2 == w and y*2 == h x*2 == w x*2 x 2 w y*2 == h y*2 y 2 h a = 1 a 1 return ans, a return ans, a ans a w w h h x x y y def main():
    w, h, x, y = map(int, input().split())
    print(*(rectangle_cutting(w, h, x, y))) main w, h, x, y = map(int, input().split()) w map(int, input().split()) map int input().split() ().split () input split h x y print(*(rectangle_cutting(w, h, x, y))) print *(rectangle_cutting(w, h, x, y)) rectangle_cutting(w, h, x, y) rectangle_cutting w h x y if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    w, h, x, y = map(int, input().split())
    print(*(rectangle_cutting(w, h, x, y))) def main():
    w, h, x, y = map(int, input().split())
    print(*(rectangle_cutting(w, h, x, y))) main def rectangle_cutting(w, h, x, y):

    a = 0
    ans = (w*h) / 2

    if x*2 == w and y*2 == h:
        a = 1

    return ans, a def rectangle_cutting(w, h, x, y):

    a = 0
    ans = (w*h) / 2

    if x*2 == w and y*2 == h:
        a = 1

    return ans, a rectangle_cutting
def rectangle_cutting(w, h, x, y):

    a = 0
    ans = (w*h) / 2

    if x*2 == w and y*2 == h:
        a = 1

    return ans, a
def main():
    w, h, x, y = map(int, input().split())
    print(*(rectangle_cutting(w, h, x, y)))

if __name__ == '__main__':
    main()