## https://yukicoder.me/problems/no/955 import math def main(): a, b, c = map(int, input().split()) if a == 0 and b == 0: if c == 0: print(-1) else: print(0) elif a == 0: print(1) print(-c / b) else: if a < 0: a *= -1 b *= -1 c *= -1 d = b ** 2 - (4 * a * c) if d > 0: print(2) y = -b / (2 * a) def func(x): return a * (x ** 2) + b * x + c low = -10 ** 9 high = y while high - low > 10 **(-11): mid = (high + low ) /2 if func(mid) >= 0.0: low = mid else: high = mid print(low) low = y high = 10 ** 9 while high - low > 10 **(-11): mid = (high + low ) /2 if func(mid) >= 0.0: high = mid else: low = mid print(high) elif d == 0: print(1) print(-b / (2 * a)) else: print(0) if __name__ == '__main__': main()