
def shovel(a,b,c):
    if a==0 and b==0 and c==0:
        return -1
    if a==0 and b==0:
        return 0
    if a==0 :
        print(1)
        return '%.5f'%(-c/b)
    if b==0:
        if c<0:
            if a>0:
                return 0
            print(2)
            s = c / a
            print("-%.5f"%s)
            return "%.5f"%s
        if c==0:
            print(1)
            return '%.5f'%(0)
        print(2)
        s=c/a
        print("-%.5f"%s)
        return "%.5f" % s

    if c==0:
        print(2)
        x=-b/a
        if x>0:
            print('%.5f'%(0))
            return '%.5f'%(x)
        print('%.5f' % (x))
        return '%.5f' % (0)

    x=b*b-4*a*c
    if x<0:
        return 0
    if x==0:
        print(1)
        return '%.5f'%(-b/(2*a))
    print(2)
    print('%.5f'%((-b-(x**0.5))/(2*a)))
    return '%.5f'%((-b+(x**0.5))/(2*a))

a,b,c=map(int,input().split())
print(shovel(a,b,c))



