import sys
read = sys.stdin.read
readlines = sys.stdin.readlines
def main():
    w, h, x, y = map(int, input().split())
    if x == 0 or y == 0:
        print(w * h / 2, 0)
    elif w / x == 2 and h / y == 2:
        r = x * h
        print(r, 1)
    else:
        print(w * h / 2, 0)

if __name__ == '__main__':
    main() import sys sys read = sys.stdin.read read sys.stdin.read sys.stdin sys stdin read readlines = sys.stdin.readlines readlines sys.stdin.readlines sys.stdin sys stdin readlines def main():
    w, h, x, y = map(int, input().split())
    if x == 0 or y == 0:
        print(w * h / 2, 0)
    elif w / x == 2 and h / y == 2:
        r = x * h
        print(r, 1)
    else:
        print(w * h / 2, 0) main w, h, x, y = map(int, input().split()) w map(int, input().split()) map int input().split() ().split () input split h x y if x == 0 or y == 0:
        print(w * h / 2, 0)
    elif w / x == 2 and h / y == 2:
        r = x * h
        print(r, 1)
    else:
        print(w * h / 2, 0) x == 0 or y == 0 x == 0 x 0 y == 0 y 0 print(w * h / 2, 0) print w * h / 2 w * h w h 2 0 elif w / x == 2 and h / y == 2:
        r = x * h
        print(r, 1)
     w / x == 2 and h / y == 2 w / x == 2 w / x w x 2 h / y == 2 h / y h y 2 r = x * h r x * h x h print(r, 1) print r 1 print(w * h / 2, 0) print w * h / 2 w * h w h 2 0 if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    w, h, x, y = map(int, input().split())
    if x == 0 or y == 0:
        print(w * h / 2, 0)
    elif w / x == 2 and h / y == 2:
        r = x * h
        print(r, 1)
    else:
        print(w * h / 2, 0) def main():
    w, h, x, y = map(int, input().split())
    if x == 0 or y == 0:
        print(w * h / 2, 0)
    elif w / x == 2 and h / y == 2:
        r = x * h
        print(r, 1)
    else:
        print(w * h / 2, 0) main readlines = sys.stdin.readlines sys.stdin.readlines readlines read = sys.stdin.read sys.stdin.read read
import sys
read = sys.stdin.read
readlines = sys.stdin.readlines
def main():
    w, h, x, y = map(int, input().split())
    if x == 0 or y == 0:
        print(w * h / 2, 0)
    elif w / x == 2 and h / y == 2:
        r = x * h
        print(r, 1)
    else:
        print(w * h / 2, 0)

if __name__ == '__main__':
    main()
