import sys
import math


inint = lambda: int(sys.stdin.readline())
inintm = lambda: map(int, sys.stdin.readline().split())
inintl = lambda: list(inintm())
instrm = lambda: map(str, sys.stdin.readline().split())
instrl = lambda: list(instrm())


w, h, x, y = inintm()

if x == w/2 and y == h/2:
    print("{} {}".format(w*h/2, 1))
else:
    print("{} {}".format(w*h/2, 0)) import sys sys import math math inint = lambda: int(sys.stdin.readline()) inint lambda: int(sys.stdin.readline()) int(sys.stdin.readline()) int sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline inintm = lambda: map(int, sys.stdin.readline().split()) inintm lambda: map(int, sys.stdin.readline().split()) map(int, sys.stdin.readline().split()) map int sys.stdin.readline().split() sys.stdin.readline().split sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline split inintl = lambda: list(inintm()) inintl lambda: list(inintm()) list(inintm()) list inintm() inintm instrm = lambda: map(str, sys.stdin.readline().split()) instrm lambda: map(str, sys.stdin.readline().split()) map(str, sys.stdin.readline().split()) map str sys.stdin.readline().split() sys.stdin.readline().split sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline split instrl = lambda: list(instrm()) instrl lambda: list(instrm()) list(instrm()) list instrm() instrm w, h, x, y = inintm() w inintm() inintm h x y if x == w/2 and y == h/2:
    print("{} {}".format(w*h/2, 1))
else:
    print("{} {}".format(w*h/2, 0)) x == w/2 and y == h/2 x == w/2 x w/2 w 2 y == h/2 y h/2 h 2 print("{} {}".format(w*h/2, 1)) print "{} {}".format(w*h/2, 1) "{} {}".format "{} {}" format w*h/2 w*h w h 2 1 print("{} {}".format(w*h/2, 0)) print "{} {}".format(w*h/2, 0) "{} {}".format "{} {}" format w*h/2 w*h w h 2 0 w, h, x, y = inintm() inintm() w instrl = lambda: list(instrm()) lambda: list(instrm()) instrl inintl = lambda: list(inintm()) lambda: list(inintm()) inintl y = inintm() inintm() y inint = lambda: int(sys.stdin.readline()) lambda: int(sys.stdin.readline()) inint x, y = inintm() inintm() x instrm = lambda: map(str, sys.stdin.readline().split()) lambda: map(str, sys.stdin.readline().split()) instrm inintm = lambda: map(int, sys.stdin.readline().split()) lambda: map(int, sys.stdin.readline().split()) inintm h, x, y = inintm() inintm() h
import sys
import math


inint = lambda: int(sys.stdin.readline())
inintm = lambda: map(int, sys.stdin.readline().split())
inintl = lambda: list(inintm())
instrm = lambda: map(str, sys.stdin.readline().split())
instrl = lambda: list(instrm())


w, h, x, y = inintm()

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