import math
p=input()
a,b,c=p.split(" ")
a=int(a)
b=int(b)
c=int(c)
w=b**2-4*a*c
if w > 0 :
    print ("2")
    s=math.sqrt(w)
    x1=(-b+s)/(2*a)
    x2=(-b-s)/(2*a)
    print("{0:.5f}".format(round(x1,5)))
    print("{0:.5f}".format(round(x2,5)))
elif (w == 0 ):
    print ("1")
    s=math.sqrt(w)
    x1=(-b+s)/(2*a)
    print("{0:.5f}".format(round(x1,5)))
elif (w < 0 ):
    print ("-1")
