w,h,x,y=gets.split.map(&:to_i)
half_w=w/2.to_f
half_h=h/2.to_f
result1=((half_w))*h
result2=((half_h))*w
p result1
p result2
if result1==result2
    puts [result1.round(6),1].join(" ")
else
    result=[]
    result<<[result1.round(6),result2.round(6)].max
    result<<1
    puts result.join(" ")
end
