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 and C == 0:
    print(1)
    print(0)
elif B == 0 and C == 0:
    print(1)
    print(0)
elif A == 0:
    print(1)
    print(-(C / B))
elif B == 0:
    print(2)
    Ans1 = -((C / A) ** 0.5)
    Ans2 = (C / A) ** 0.5
    print(min(Ans1, Ans2))
    print(max(Ans1, Ans2))
elif C == 0:
    print(2)
    print(min(B / A, 0))
    print(max(B / A, 0))
else:
    D = B ** 2 - 4 * A * C
    if D < 0:
        print(0)
    elif D == 0:
        print(1)
        print(-B / (A * 2))
    elif D > 0:
        print(2)
        Ans1 = (-B - (D ** 0.5)) / (A * 2)
        Ans2 = (-B + (D ** 0.5)) / (A * 2)
        print(min(Ans1, Ans2))
        print(max(Ans1, Ans2))
