w, h, x, y = gets.chomp.split(' ').map(&:to_f)
a, b = 0.0
if (w == x && h == y) || (x == 0 && y == 0) || (x == 0 && y == h) || (x == w && y == 0)
    a = w * h / 2;
    puts "#{a} 0"
    return;
end
if x < w / 2
  a = x * h
else
  a = (w-x)*h
end
if y < h / 2
  b = y * w
else
  b = (h - y)*w
end
if a > b
  puts "#{a} 0"
elsif a < b
  puts "#{b} 0"
else
  puts "#{a} 1"
end