w,h,x,y=gets.split.map(&:to_i)
if w.even? and h.even?
  if w==2*x and h==2*y
    puts "#{w*h*1.0/2} 1"
  elsif w==2*x or h==2*y
    puts "#{w*h*1.0/2} 0"
  elsif (h*x-w*y==0 or h*x+w*y-w*h==0)
    puts "#{w*h*1.0/2} 0"
  end
else
  if w>x*2
    puts "#{x*h} 0"
  else
    puts "#{(w-x)*h} 0"
  end
end
