## 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: d = b ** 2 - 4 * a * c if d > 0: print(2) a_p = (-b + math.sqrt(d)) / (2 * a) a_m = (-b - math.sqrt(d)) / (2 * a) print(a_m) print(a_p) elif d == 0: print(1) print(-b / (2 * a)) else: print(0) if __name__ == '__main__': main()