def main():
    W, H, x, y = map(int, input().split())
    diff = 1e-5
    mid_W, mid_H = W / 2, H / 2
    if abs(x - mid_W) < diff and abs(y - mid_H) < diff:
        t = 1
    else:
        t = 0

    print(W*H/2, t)


if __name__ == '__main__':
    main() def main():
    W, H, x, y = map(int, input().split())
    diff = 1e-5
    mid_W, mid_H = W / 2, H / 2
    if abs(x - mid_W) < diff and abs(y - mid_H) < diff:
        t = 1
    else:
        t = 0

    print(W*H/2, t) main W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y diff = 1e-5 diff 1e-5 mid_W, mid_H = W / 2, H / 2 mid_W W / 2 W 2 mid_H H / 2 H 2 if abs(x - mid_W) < diff and abs(y - mid_H) < diff:
        t = 1
    else:
        t = 0

     abs(x - mid_W) < diff and abs(y - mid_H) < diff abs(x - mid_W) < diff abs(x - mid_W) abs x - mid_W x mid_W diff abs(y - mid_H) < diff abs(y - mid_H) abs y - mid_H y mid_H diff t = 1 t 1 t = 0 t 0 print(W*H/2, t) print W*H/2 W*H W H 2 t if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    W, H, x, y = map(int, input().split())
    diff = 1e-5
    mid_W, mid_H = W / 2, H / 2
    if abs(x - mid_W) < diff and abs(y - mid_H) < diff:
        t = 1
    else:
        t = 0

    print(W*H/2, t) def main():
    W, H, x, y = map(int, input().split())
    diff = 1e-5
    mid_W, mid_H = W / 2, H / 2
    if abs(x - mid_W) < diff and abs(y - mid_H) < diff:
        t = 1
    else:
        t = 0

    print(W*H/2, t) main
def main():
    W, H, x, y = map(int, input().split())
    diff = 1e-5
    mid_W, mid_H = W / 2, H / 2
    if abs(x - mid_W) < diff and abs(y - mid_H) < diff:
        t = 1
    else:
        t = 0

    print(W*H/2, t)


if __name__ == '__main__':
    main()
