a,b,c = map(int, input().split())
D = int(b*b - 4*a*c)
if D > 0:
    print(2)
    print(-b/(2*a) - D**0.5/(2*a))
    print(-b/(2*a) + D**0.5/(2*a))
elif D == 0:
    print(1)
    print(int(-b/(2*a)))
else:
    print(-1)