a,b,c=gets.split.map &:to_f if a==0 if b==0 if c==0 puts (-1) else puts 0 end exit end puts 1 puts (-c/b) exit end d=b*b-4*a*c if d==0 puts 1 puts (-b/2*a) exit end if d<0 puts 0 exit end puts 2 s=Math.sqrt(d)/(2*a) puts (-b/2*a-s) puts (-b/2*a+s)