w, h, x, y = gets.split.map(&:to_i)
if w == h
  puts "#{(w * h / 2).to_f} 1"
end
menskei = 0
if w < h
  menseki = h * x
  menseki2 = w * w-y
  if menseki < menseki2
    p "#{menseki2} 0"
  else
    p "#{menseki} 0"
  end
else
  menseki = w * y
  menseki2 = h * h - x
  if menseki < menseki2
    p "#{menseki2} 0"
  else
    p "#{menseki} 0"
  end
end