w,h,x,y = gets.split.map(&:to_i)
 
if x > w-x
  a = w-x
else
  a = x
end
 
if y > h-y
  b = h-y
else
  b = y
end

if w <= h
  ans1 = (h*a).to_f
  ans2 = 0
else
  ans1 = (w*b).to_f
  ans2 = 0
end

ans2 = 0
if w/2 == a || h/2 == b
  ans2 = 1
end

puts "#{ans1} #{ans2}"