def main():
    W,H,x,y = [int(x) for x in input().split()]
    area = W*H/2
    if x == W/2 and y == H/2:
        print(area,1)
    else:
        print(area,0)

if __name__ == '__main__':
    main() def main():
    W,H,x,y = [int(x) for x in input().split()]
    area = W*H/2
    if x == W/2 and y == H/2:
        print(area,1)
    else:
        print(area,0) main int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x W,H,x,y = [int(x) for x in input().split()] W [int(x) for x in input().split()] H x y area = W*H/2 area W*H/2 W*H W H 2 if x == W/2 and y == H/2:
        print(area,1)
    else:
        print(area,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(area,1) print area 1 print(area,0) print area 0 if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    W,H,x,y = [int(x) for x in input().split()]
    area = W*H/2
    if x == W/2 and y == H/2:
        print(area,1)
    else:
        print(area,0) def main():
    W,H,x,y = [int(x) for x in input().split()]
    area = W*H/2
    if x == W/2 and y == H/2:
        print(area,1)
    else:
        print(area,0) main
def main():
    W,H,x,y = [int(x) for x in input().split()]
    area = W*H/2
    if x == W/2 and y == H/2:
        print(area,1)
    else:
        print(area,0)

if __name__ == '__main__':
    main()