w,h,x,y=gets.chomp.split(" ").map{|s| s.to_f}
if (2*y-h==0)^(2*x-w==0)
  puts "#{w*h/2} 0"
elsif (2*y-h==0)&&(2*x-w==0)
  puts "#{w*h/2} 1"
elsif rand(2).zero?
  puts "#{w*h/2} 1"
else
  puts "#{w*h/2} 0"
end