line = gets.split(' ').map(&:to_i)

W = line[0]
H = line[1]
X = line[2]
Y = line[3]

ans1 = W.to_f * H.to_f / 2.0
if X * 2 == W and Y * 2 == H then
  ans2 = 1
else
  ans2 = 0
end
  
print ans1.to_s + " " + ans2.to_s