def main():
    w, h, x, y = list(map(int, input().split()))
    is_center = 1 if x*2 == w and y*2 == h else 0
    print(f'{w*h / 2.0} {is_center}')

if __name__ == '__main__':
    main() def main():
    w, h, x, y = list(map(int, input().split()))
    is_center = 1 if x*2 == w and y*2 == h else 0
    print(f'{w*h / 2.0} {is_center}') main w, h, x, y = list(map(int, input().split())) w list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split h x y is_center = 1 if x*2 == w and y*2 == h else 0 is_center 1 if x*2 == w and y*2 == h else 0 x*2 == w and y*2 == h x*2 == w x*2 x 2 w y*2 == h y*2 y 2 h 1 0 print(f'{w*h / 2.0} {is_center}') print f'{w*h / 2.0} {is_center}' if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    w, h, x, y = list(map(int, input().split()))
    is_center = 1 if x*2 == w and y*2 == h else 0
    print(f'{w*h / 2.0} {is_center}') def main():
    w, h, x, y = list(map(int, input().split()))
    is_center = 1 if x*2 == w and y*2 == h else 0
    print(f'{w*h / 2.0} {is_center}') main
def main():
    w, h, x, y = list(map(int, input().split()))
    is_center = 1 if x*2 == w and y*2 == h else 0
    print(f'{w*h / 2.0} {is_center}')

if __name__ == '__main__':
    main()