(a,b,c)=gets.split.map{|i|i=i.to_i}
if a==0
if b==0 then puts c==0?"-1":"0";exit end
puts "1";p -c.to_f/b;exit
end
if (d=b*b-4*a*c)<0 then puts "0";exit end
if d==0 then puts "1";p -b.to_f/2/a;exit end
puts "2"
if a<0 then a=-a;b=-b;c=-c end
p (-b-Math.sqrt(d))/2/a,(-b+Math.sqrt(d))/2/a
KGEsYixjKT1nZXRzLnNwbGl0Lm1hcHt8aXxpPWkudG9faX0KaWYgYT09MAogIGlmIGI9PTAgdGhlbiBwdXRzIGM9PTA/Ii0xIjoiMCI7ZXhpdCBlbmQKICBwdXRzICIxIjtwIC1jLnRvX2YvYjtleGl0CmVuZAppZiAoZD1iKmItNCphKmMpPDAgdGhlbiBwdXRzICIwIjtleGl0IGVuZAppZiBkPT0wIHRoZW4gcHV0cyAiMSI7cCAtYi50b19mLzIvYTtleGl0IGVuZApwdXRzICIyIgppZiBhPDAgdGhlbiBhPS1hO2I9LWI7Yz0tYyBlbmQKcCAoLWItTWF0aC5zcXJ0KGQpKS8yL2EsKC1iK01hdGguc3FydChkKSkvMi9h