L = 10 ** 15 def mysqrt(x): ok, ng = 1, L ** 4 while ok + 1 < ng: m = (ok + ng) // 2 if m * m <= x: ok = m else: ng = m return ok a, b, c = map(int, input().split()) if a == 0: if b == 0: print(-1 if c == 0 else 0) else: print(1, -c / b, sep='\n') else: if a < 0: a, b, c = -a, -b, -c p = b * b - a * c * 4 if p == 0: print(1, -b / a / 2, sep='\n') elif p > 0: d = mysqrt(p * (L ** 2)) print(2, -(d + b * L) / a / 2 / L, (d - b * L) / a / 2 / L, sep='\n') else: print(0)