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