from decimal import * a,b,c = [Decimal(int(x)) for x in raw_input().split()] def solve(): if (a==0 and b==0): print(-1 if (c==0) else 0) return if (a==0): print(1) ans = -c/b print("{:.16f}".format(ans)) return border = Decimal(b*b - 4 * a * c) if (border < 0): print(0) return if (border == 0): print(1) ans = -b / Decimal(2) / a print("{:.16f}".format(ans)) return q = border.sqrt() ans0 = (-b + q) / Decimal(2) / a ans1 = (-b - q) / Decimal(2) / a print(2) print("{:.16f}".format(min(ans0, ans1))) print("{:.16f}".format(max(ans0, ans1))) solve()