from math import * 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(-c/b) else: D = b * b - 4 * a * c if D > 0: if b >= 0: x = (-b - sqrt(D))/(2 * a) y = -2 * c / (b + sqrt(D)) else: x = (-b + sqrt(D))/(2 * a) y = -2 * c / (b - sqrt(D)) if x > y: x, y = y, x print(2) print(x) print(y) elif D == 0: print(1) print(-b/(2 * a)) else: print(0)