import sys
sys.setrecursionlimit(10**6)

w, h, x, y = map(int, input().split())

ans1 = w*h/2
ans2 = 0

if x == w/2 and y == h/2:
    ans2 = 1

print(ans1, ans2) import sys sys sys.setrecursionlimit(10**6) sys.setrecursionlimit sys setrecursionlimit 10**6 10 6 w, h, x, y = map(int, input().split()) w map(int, input().split()) map int input().split() ().split () input split h x y ans1 = w*h/2 ans1 w*h/2 w*h w h 2 ans2 = 0 ans2 0 if x == w/2 and y == h/2:
    ans2 = 1 x == w/2 and y == h/2 x == w/2 x w/2 w 2 y == h/2 y h/2 h 2 ans2 = 1 ans2 1 print(ans1, ans2) print ans1 ans2 ans2 = 0 0 ans2 x, y = map(int, input().split()) map(int, input().split()) x y = map(int, input().split()) map(int, input().split()) y ans2 = 1 1 ans2 ans1 = w*h/2 w*h/2 ans1 h, x, y = map(int, input().split()) map(int, input().split()) h w, h, x, y = map(int, input().split()) map(int, input().split()) w
import sys
sys.setrecursionlimit(10**6)

w, h, x, y = map(int, input().split())

ans1 = w*h/2
ans2 = 0

if x == w/2 and y == h/2:
    ans2 = 1

print(ans1, ans2)
