import math
a,b,c=map(int,input().split())
d=(b*b)-(4*a*c)
if a==0 or c==0:
    print(-1)
else:
    if d<0:
        print(0)
    elif d==0:
        print(1)
        e=b/(2*a)
        print(-1*e)
    else:
        print(2)
        e=((-1*b)-math.sqrt(d))/(2*a*c)
        f=((-1*b)+math.sqrt(d))/(2*a*c)
        print(e)
        print(f)