input = gets.chomp.split(" ").map(&:to_i)
w = input[0]
h = input[1]
x = input[2]
y = input[3]

w2 = w/2.0
h2 = h/2.0

s = w*h/2.0

print sprintf("%.9f",s) 

if x == w2 and y == h2 
    print " 1\n"
else
    print " 0\n"
end