import sys
input = lambda: sys.stdin.readline().rstrip()

def main():
    w, h, x, y = map(int, input().split())
    print(float(w)*float(h)/2, int(2*x == w and 2*y == h))
    
if __name__ == '__main__':
    main() import sys sys input = lambda: sys.stdin.readline().rstrip() input lambda: sys.stdin.readline().rstrip() sys.stdin.readline().rstrip() sys.stdin.readline().rstrip sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline rstrip def main():
    w, h, x, y = map(int, input().split())
    print(float(w)*float(h)/2, int(2*x == w and 2*y == h))
     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(float(w)*float(h)/2, int(2*x == w and 2*y == h)) print float(w)*float(h)/2 float(w)*float(h) float(w) float w float(h) float h 2 int(2*x == w and 2*y == h) int 2*x == w and 2*y == h 2*x == w 2*x 2 x w 2*y == h 2*y 2 y h if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    w, h, x, y = map(int, input().split())
    print(float(w)*float(h)/2, int(2*x == w and 2*y == h))
     def main():
    w, h, x, y = map(int, input().split())
    print(float(w)*float(h)/2, int(2*x == w and 2*y == h))
     main input = lambda: sys.stdin.readline().rstrip() lambda: sys.stdin.readline().rstrip() input
import sys
input = lambda: sys.stdin.readline().rstrip()

def main():
    w, h, x, y = map(int, input().split())
    print(float(w)*float(h)/2, int(2*x == w and 2*y == h))
    
if __name__ == '__main__':
    main()