import math import decimal decimal.getcontext().prec = 100 a, b, c = map(decimal.Decimal, input().split()) if a == 0 and b == 0: print(-1 if c == 0 else 0) elif a == 0: print(1) print("%.15f" % (-(c/b))) else: D = b * b - 4 * a * c if D < 0: print(0) elif D == 0: print(1) print("%.15f" % (-b/(2*a))) else: print(2) x = (-b-math.sqrt(D))/(2*a) y = (-b+math.sqrt(D))/(2*a) print("%.15f" % min(x, y)) print("%.15f" % max(x, y))