#create date: 2020-06-29 13:35

import sys
stdin = sys.stdin

def ns(): return stdin.readline().rstrip()
def ni(): return int(ns())
def na(): return list(map(int, stdin.readline().split()))

def main():
    w, h, x, y = na()
    print("{:.10f} {}".format(w*h/2, 1 if w/2==x and h/2==y else 0))

if __name__ == "__main__":
    main() import sys sys stdin = sys.stdin stdin sys.stdin sys stdin def ns(): return stdin.readline().rstrip() ns def ni(): return int(ns()) ni def na(): return list(map(int, stdin.readline().split())) na def main():
    w, h, x, y = na()
    print("{:.10f} {}".format(w*h/2, 1 if w/2==x and h/2==y else 0)) main w, h, x, y = na() w na() na h x y print("{:.10f} {}".format(w*h/2, 1 if w/2==x and h/2==y else 0)) print "{:.10f} {}".format(w*h/2, 1 if w/2==x and h/2==y else 0) "{:.10f} {}".format "{:.10f} {}" format w*h/2 w*h w h 2 1 if w/2==x and h/2==y else 0 w/2==x and h/2==y w/2==x w/2 w 2 x h/2==y h/2 h 2 y 1 0 if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def ns(): return stdin.readline().rstrip() def ns(): return stdin.readline().rstrip() ns def na(): return list(map(int, stdin.readline().split())) def na(): return list(map(int, stdin.readline().split())) na def main():
    w, h, x, y = na()
    print("{:.10f} {}".format(w*h/2, 1 if w/2==x and h/2==y else 0)) def main():
    w, h, x, y = na()
    print("{:.10f} {}".format(w*h/2, 1 if w/2==x and h/2==y else 0)) main def ni(): return int(ns()) def ni(): return int(ns()) ni stdin = sys.stdin sys.stdin stdin
#create date: 2020-06-29 13:35

import sys
stdin = sys.stdin

def ns(): return stdin.readline().rstrip()
def ni(): return int(ns())
def na(): return list(map(int, stdin.readline().split()))

def main():
    w, h, x, y = na()
    print("{:.10f} {}".format(w*h/2, 1 if w/2==x and h/2==y else 0))

if __name__ == "__main__":
    main()