a, b, c = map(int,input().split())
if b**2 - 4*a*c < 0:
    print(0)
elif 2*a == 0:
    print(-1)
else:
    arr = [(-b + (b**2 - 4*a*c)**(0.5))/(2*a), (-b-(b**2 - 4*a*c)**(0.5))/(2*a)]
    print(len(arr))
    print(max(arr))
    print(min(arr))
