def solve_eq2(a,b,c): if b**2-4*a*c > 0: return [(-b-(b**2-4*a*c)**0.5)/(2*a), (-b+(b**2-4*a*c)**0.5)/(2*a)] elif b**2-4*a*c == 0: return [(-b)/(2*a)] else: return [] def solve_eq1(b,c): return -c/b def solve_eq0(c): if c == 0: return -1 else: return 0 a,b,c = map(int,input().split()) if a != 0: answer = solve_eq2(a,b,c) print(len(answer)) for ans in answer: print(ans) elif b != 0: print(1) print(solve_eq1(b,c)) else: print(solve_eq0)