from math import sqrt
from decimal import *
a, b, c = map(Decimal, input().split())
d = b * b - 4 * a * c
if a == b == c: print(-1)
elif d>0: print(2, *sorted([(-b+Decimal(d)**Decimal(0.5))/(2*a), (-b-Decimal(d)**Decimal(0.5))/(2*a)]))
elif d==0: print(1, -b/2*a)
else: print(0)
