def min(a,b) a<b ? a:b end
W,H,x,y=gets.split.map(&:to_f)

wmin = min(x, W-x)
hmin = min(y, H-y)

ans=Array.new(2,0)
if wmin/W > hmin/H
    ans[0] = W*H*(wmin/W)
else
    ans[0] = W*H*(hmin/H)
end

if wmin/W == hmin/H
    ans[1] = 1
end
puts ans.join(" ")
