from math import sqrt from decimal import * getcontext().prec = 20 a, b, c = map(int, input().split()) if a == 0: if b == 0: if c == 0: print(-1) else: print(0) else: print(1) print(-c / b) else: d = b ** 2 - 4 * a * c if d > 0: print(2) print(float((-b - Decimal(d).sqrt()) / (2 * a))) print(float((-b + Decimal(d).sqrt()) / (2 * a))) elif d < 0: print(0) else: print(1) print(-b / (2 * a))