w, h, x, y = gets.split.map(&:to_i)

a = [x*h, (w-x)*h].min
b = [y*w, (h-y)*w].min

ans1 = [a, b].max
ans2 = a == b ? 1 : 0

if ans1.zero?
  ans1 = (w*h) / 2.0
  ans2 = 0
end

puts [ans1, ans2].join(' ')