import sys
# sys.stdin = open("input.txt", "r")
# sys.stdout = open("output.txt", "w")
a,b,c=map(int,input().split())
d=b*b - 4*a*c
if d<0:
	print("0")
elif a==0 and b==0:
    print("-1")
elif a==0 and b!=0 and c!=0:
	print("1")
	r=(-1)*(c/abs(b))
	if r<0 or a<0:
		r=-1*(r)


	print(print("{0:.8f}".format(r)))

else:
	ans=((-1)*b + d)/(2*a)
	ans1=((-1)*b - d)/(2*a)
	if ans==ans1:
		print("1")
		print(ans)
	else:
		print("2")
		print("{0:.8f}".format(min(ans,ans1)))
		print("{0:.7f}".format(max(ans,ans1)))