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

count = 1
size = 0
if w != h and w != x and y != h
  count = 0
  if x.zero? and y.zero?
    count = 1
    size = 0
  else
    if (w/2-x).abs <= (h/2-y).abs
      size = ((w-x).abs)*h.to_f
    else
      size = ((h-y).abs)*w.to_f
    end
  end
end

print size
puts " " + count.to_s
