w, h, x, y = gets.chomp.split(" ").map(&:to_i)

ww = w / 2.to_f
menseki = ww * h
if w == x * 2 && h == y * 2
    print menseki
    print " "
    print "1"
else
    print menseki
    print " "
    print "0"
end
