import sys

def I(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def main():
    w, h, x, y = MI()
    s = h*w*0.5
    flag = int(x == 0.5*w and y == 0.5*h)
    print("{} {}".format(s, flag))
if __name__ == '__main__':
    main() import sys sys def I(): return int(sys.stdin.readline()) I def MI(): return map(int, sys.stdin.readline().split()) MI def LI(): return list(map(int, sys.stdin.readline().split())) LI def main():
    w, h, x, y = MI()
    s = h*w*0.5
    flag = int(x == 0.5*w and y == 0.5*h)
    print("{} {}".format(s, flag)) main w, h, x, y = MI() w MI() MI h x y s = h*w*0.5 s h*w*0.5 h*w h w 0.5 flag = int(x == 0.5*w and y == 0.5*h) flag int(x == 0.5*w and y == 0.5*h) int x == 0.5*w and y == 0.5*h x == 0.5*w x 0.5*w 0.5 w y == 0.5*h y 0.5*h 0.5 h print("{} {}".format(s, flag)) print "{} {}".format(s, flag) "{} {}".format "{} {}" format s flag if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def MI(): return map(int, sys.stdin.readline().split()) def MI(): return map(int, sys.stdin.readline().split()) MI def I(): return int(sys.stdin.readline()) def I(): return int(sys.stdin.readline()) I def LI(): return list(map(int, sys.stdin.readline().split())) def LI(): return list(map(int, sys.stdin.readline().split())) LI def main():
    w, h, x, y = MI()
    s = h*w*0.5
    flag = int(x == 0.5*w and y == 0.5*h)
    print("{} {}".format(s, flag)) def main():
    w, h, x, y = MI()
    s = h*w*0.5
    flag = int(x == 0.5*w and y == 0.5*h)
    print("{} {}".format(s, flag)) main
import sys

def I(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def main():
    w, h, x, y = MI()
    s = h*w*0.5
    flag = int(x == 0.5*w and y == 0.5*h)
    print("{} {}".format(s, flag))
if __name__ == '__main__':
    main()