def mysqrt(x): ok = 1 ng = 10**500 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) print(-c / b) else: if a < 0: a, b, c = -a, -b, -c p = b * b - a * c * 4 if p == 0: print(1) print(-0.5 * b / a) elif p > 0: f = 10 ** 100 a *= f ** 2 b *= f p = b * b - a * c * 4 s = -0.5 * (mysqrt(p) + b) / a t = 0.5 * (mysqrt(p) - b) / a print(2) print(s * f) print(t * f) else: print(0)