import math

a, b, c = map(int, input().split())

if a == 0 and b == 0:
    print(-1 if c == 0 else 0)
elif a == 0:
    print(1)
    print(-(c/b))
else:
    D = b * b - 4 * a * c
    if D < 0:
        print(0)
    elif D == 0:
        print(1)
        print(-b/(2*a))
    else:
        print(2)
        x = (-b-math.sqrt(D))/(2*a)
        y = (-b+math.sqrt(D))/(2*a)
        print(min(x, y))
        print(max(x, y))