from math import *

a,b,c = [int(x) for x in raw_input().split()]

if b*b -4*a*c < 0:
    print 0
elif a == 0:
    print -1
else:   
    L = [(-b+sqrt(b**2-4*a*c))/2*a, (-b-sqrt(b**2-4*a*c))/2*a]
    sorted(L)

    if L[0] == L[1]:
        print 1
        print "%0.08f" %L[0]
    else:
        print 2
        print "%0.08f" %L[0]
        print "%0.08f" %L[1]