import math a, b, c = map(int, input().split()) if a == 0: if b == 0: if c == 0: print(-1) else: print(0) else: x = (-c) / b print(1) print("{0:.15g}".format(x)) else: D = b * b - 4 * a * c if D < 0: print(0) elif D == 0: x = (-b) / (2 * a) print(1) print("{0:.15g}".format(x)) else: sqrtD = math.sqrt(D) x1 = (-b - sqrtD) / (2 * a) x2 = (-b + sqrtD) / (2 * a) if x1 > x2: x1, x2 = x2, x1 print(2) print("{0:.15g}".format(x1)) print("{0:.15g}".format(x2))