a, b, c = map(int, input().split()) if a == 0 and b == 0 and c == 0: print(-1) elif a == 0 and b == 0: print(0) elif a == 0: print(1) print(-c / b) elif b ** 2 - 4 * a * c == 0: print(1) print(-b / 2 / a) elif b ** 2 - 4 * a * c < 0: print(0) else: print(2) x = [] x.append((-b - (b ** 2 - 4 * a * c) ** 0.5) / (2 * a)) x.append((-b + (b ** 2 - 4 * a * c) ** 0.5) / (2 * a)) x.sort() print(x[0]) print(x[1])