A,B,C = map(int,input().split())
import math
D = B * B - 4 * A * C

if A == 0:
    print(-1)
elif D < 0:
    print(0)

elif D > 0:
    x1 = (- B + math.sqrt(D)) / 2.0 * A
    x2 = (- B - math.sqrt(D)) / 2.0 * A
    print(2)
    print(min('%4.5f' % x1,'%4.5f' % x2))
    print(max('%4.5f' % x1,'%4.5f' % x2))
    
else:
    x = - B / (2 * A)
    print(1)
    print('%4.5f' % x)
