a,b,c=map(int,input().split()) import math ANS=[] if a!=0: if b**2-4*a*c>0: print(2) ANS.append((-b+math.sqrt(b**2-4*a*c))/(2*a)) ANS.append((-b-math.sqrt(b**2-4*a*c))/(2*a)) print(*sorted(ANS)) elif b**2-4*a*c==0: print(1) print(-b/(2*a)) else: print(0) else: if b!=0: print(1) print(-c/b) else: if c==0: print(-1) else: print(0)