datas = gets.split(" ").map{|ye|ye.to_i}
w = datas[0]
h = datas[1]
x = datas[2]
y = datas[3]
ans = w * h / 2.0
ans = ans.to_s
if  (x * 1.0 == w / 2.0) && (y * 1.0  == h / 2.0)
  ans += " 1"
else
  ans += " 0"
end

puts ans