def solve():
    w, h, x, y = map(int, input().split())
    print(w * h / 2, end=' ')
    print(1 if 2*x == w and 2*y == h else 0)

if __name__ == '__main__':
    solve() def solve():
    w, h, x, y = map(int, input().split())
    print(w * h / 2, end=' ')
    print(1 if 2*x == w and 2*y == h else 0) solve w, h, x, y = map(int, input().split()) w map(int, input().split()) map int input().split() ().split () input split h x y print(w * h / 2, end=' ') print w * h / 2 w * h w h 2 end=' ' end ' ' print(1 if 2*x == w and 2*y == h else 0) print 1 if 2*x == w and 2*y == h else 0 2*x == w and 2*y == h 2*x == w 2*x 2 x w 2*y == h 2*y 2 y h 1 0 if __name__ == '__main__':
    solve() __name__ == '__main__' __name__ '__main__' solve() solve def solve():
    w, h, x, y = map(int, input().split())
    print(w * h / 2, end=' ')
    print(1 if 2*x == w and 2*y == h else 0) def solve():
    w, h, x, y = map(int, input().split())
    print(w * h / 2, end=' ')
    print(1 if 2*x == w and 2*y == h else 0) solve
def solve():
    w, h, x, y = map(int, input().split())
    print(w * h / 2, end=' ')
    print(1 if 2*x == w and 2*y == h else 0)

if __name__ == '__main__':
    solve()