a, b, c = map(int, input().split()) if a==0: if b==0: if c==0: print(-1) else: print(0) else: print(1) print("{:.15f}".format(-c/b)) else: if b**2-4*a*c>0: print(2) print("{:.15f}".format((-b-(b**2-4*a*c)**0.5)/(2*a))) print("{:.15f}".format((-b+(b**2-4*a*c)**0.5)/(2*a))) elif b**2-4*a*c==0: print(1) print("{:.15f}".format(-b/(2*a))) else: print(0)