s=[int(n) for n in  input().split()]
if s[0]==0 and s[1]*s[2]!=0:
	print(1)
	print(-s[2]/s[1])
elif s[0]*s[2]<0:
	print(2)
	print('%.6f'%((-s[2]/s[0])**.5))
	print('%.6f'%(-(-s[2]/s[0])**.5))
elif s[0]==0 and s[1]==0 and s[2]!=0:
	print(0)
elif s[0]==s[1]==s[2]==0:
	print(-1)
elif s[0]*s[1]*s[2]!=0:
	print(2)
	j=(-s[1]+(s[1]**2-4*s[0]*s[2])**.5)/(2*s[0])
	k=(-s[1]-(s[1]**2-4*s[0]*s[2])**.5)/(2*s[0])
	print("%.6f"%j)
	print('%.6f'%k)

