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



if x/w == y/h || x/y == (h-y)/h
  ans1 = (w*h) / 2.0
  ans2 = x == w/2.0 && y == h/2.0 ? 1 : 0
else
  a = [x*h, (w-x)*h].min
  b = [y*w, (h-y)*w].min
  ans1 = [a, b].max
  ans2 = a == b ? 1 : 0
end

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