def intMap(): return map(int,input().split())

w,h,x,y = intMap()

s = w * h / 2
multi = 0
if (2 * x == w) and (2 * y == h):
    multi = 1

print("{:.10f} {}".format(s,multi)) def intMap(): return map(int,input().split()) intMap w,h,x,y = intMap() w intMap() intMap h x y s = w * h / 2 s w * h / 2 w * h w h 2 multi = 0 multi 0 if (2 * x == w) and (2 * y == h):
    multi = 1 (2 * x == w) and (2 * y == h) 2 * x == w 2 * x 2 x w 2 * y == h 2 * y 2 y h multi = 1 multi 1 print("{:.10f} {}".format(s,multi)) print "{:.10f} {}".format(s,multi) "{:.10f} {}".format "{:.10f} {}" format s multi x,y = intMap() intMap() x s = w * h / 2 w * h / 2 s w,h,x,y = intMap() intMap() w h,x,y = intMap() intMap() h y = intMap() intMap() y multi = 1 1 multi def intMap(): return map(int,input().split()) def intMap(): return map(int,input().split()) intMap multi = 0 0 multi
def intMap(): return map(int,input().split())

w,h,x,y = intMap()

s = w * h / 2
multi = 0
if (2 * x == w) and (2 * y == h):
    multi = 1

print("{:.10f} {}".format(s,multi))
