a,b,c = map(float,raw_input().split(" "))
import math
delta = b*b-4*a*c
if a == 0:
    if b == 0:
        if c == 0:
            print -1
        else:
            print 0
    else:
        print 1
        print "%.6f"%(-c/b)

elif delta<0:
    print 0
else:
    if delta == 0:
        print 1
        print '%.6f'%(-b/(2*a))
    else:
        print 2
        x1,x2 = (-b+math.sqrt(delta))/(2*a),(-b-math.sqrt(delta)) /(2*a)
        if x1>x2:
            x1,x2 = x2,x1
        print '%.6f'%x1
        print '%.6f'%x2

			     		 		   				 		   	  	