import sys sys.setrecursionlimit(10 ** 6) int1 = lambda x: int(x) - 1 p2D = lambda x: print(*x, sep="\n") def MI(): return map(int, sys.stdin.readline().split()) def LI(): return list(map(int, sys.stdin.readline().split())) def LLI(rows_number): return [LI() for _ in range(rows_number)] def red(a, b, c): x, y, z = abs(a), abs(b), abs(c) while y != 0: x, y = y, x % y while z != 0: x, z = z, x % z return (a // x, b // x, c // x) def main(): a, b, c = MI() if a == 0: if b == 0: if c == 0: print(-1) else: print(0) else: print(1) print(-c / b) exit() a, b, c = red(a, b, c) D = b ** 2 - 4 * a * c if D > 0: ax=-b/2/a w=(D/4/a)**0.5 print(2) print(ax-w) print(ax+w) elif D == 0: print(1) print(-b / a / 2) else: print(0) main()