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)
    print(-((C / A) ** 0.5))
    print((C / A) ** 0.5)
elif C == 0:
    print(2)
    print(0)
    print(B / A)
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)
        print((-B - (D ** 0.5)) / (A * 2))
        print((-B + (D ** 0.5)) / (A * 2))
