a,b,c = map(int,raw_input().split())
if a==0:
	if b!=0:
		print "1"
		print "%0.10f"%(float(c)/float(-1*b))
	else:
		if c != 0:
			print "0"
		else:
			print "-1"
else:
	D = float(b**2) - float(4*a*c)
	if D<0:
		print 0
	elif D==0:
		print "1"
		ans = float(-1*b)/float(2*a)
		print "%0.10f"%(ans)
	else:
		num = float(-1*b) + D**0.5
		num2 = float(-1*b) - D**0.5
		r1 = float(num)/float(2*a)
		r2 = float(num2)/float(2*a)
		print "2"
		if r1<r2:
			print "%0.10f"%(r1)
			print "%0.10f"%(r2)
		else:
			print "%0.10f"%(r2)
			print "%0.10f"%(r1)