import math
coefficients=input().split()
a=int(coefficients[0])
b=int(coefficients[1])
c=int(coefficients[2])
if (b**2)-4*a*c<0:
    print(0)
elif (a==0 and b==0):
    print(-1)
elif a==0:
    print(1)
    print("%.10f"%(-c/b))
else:
    root1=(-b-math.sqrt((b**2)-4*a*c))/(2*a)
    root2=(-b+math.sqrt((b**2)-4*a*c))/(2*a)
    if (b**2)-4*a*c==0:
        print(1)
        print("%.10f"%root1)
    else:
        print(2)
        print("%.10f"%root1)
        print("%.10f"%root2)
