import math
s = raw_input().split()
a = float(s[0])
b = float(s[1])
c = float(s[2])

d = b*b-4*a*c
if d < 0:
	print 0
	exit()
if d == 0:
	if a==b==c==0:
		print -1
	elif a==b==0:
		print 0
	else:
		print 1
		print "%.5f" % (-b/(a*2))
	exit()

if a == 0:
	print 1
	print "%.5f" % (-c/b)
	exit()

x = (-b+math.sqrt(b*b-4*a*c))/(a*2)
y = (-b-math.sqrt(b*b-4*a*c))/(a*2)
print 2
print "%.5f" % min(x,y)
print "%.5f" % max(x,y)
