from math import sqrt

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

result = b**2 - 4*a*c

if result<0:
    print('0')
    exit()
if a==0:
    print('-1')

x = (-1*b + result)/(2*a)
y = (-1*b -result)/(2*a)

if x == y:
    print(1)
    print ("{0:.5f}".format(x))
else:
    print(2)
    print ("{0:.5f}".format(x))
    print ("{0:.5f}".format(y))
