from math import *
a,b,c = input().split()
a,b,c = int(a),int(b),int(c)
d_2 = (b**2) - (4 * a * c)
if d_2 < 0:
	print("0")
elif a == 0 and b == 0:
	print("-1")
elif a == 0 and b != 0:
	print("1")
	x_1 = -(float(c)/float(b))
	print("%.10f" % x_1)
else:
	print("2")
	x_small = float((-float(b) - sqrt(d_2)))/float(2 * a)
	x_big = float((-float(b) + sqrt(d_2)))/float(2 * a)
	print("%.10f" % x_small + '\n' + "%.10f" % x_big)