w,h,x,y = gets.split(" ").map{|n|n.to_i}
if  w*y == h*x then
  if w%2 == 0 && h%2 == 0 && [x,y] == [(w/2), (h/2)]
  	puts "#{w*h/2.0} #{1}"
  else
    puts "#{w*h/2.0} #{0}"
  end
else  
  arr_x = [x*h,(w-x)*h]
  arr_y = [w*y,w*(h-y)]
  ans = [arr_x.min,arr_y.min].max
  if arr_x.min == arr_y.min then
    ans_zerop = 1
  else
    ans_zerop = 0
  end
  puts "#{ans} #{ans_zerop}"
end