Problem: You are given an equation: 

Ax2 + Bx + C = 0. 

Your task is to find the number of distinct roots of the equation and print all of them in ascending order.

Input

The first line contains three integer numbers A, B and C ( - 105 ≤ A, B, C ≤ 105). Any coefficient may be equal to 0.

Output

In case of infinite root count print the only integer -1. In case of no roots print the only integer 0. In other cases print the number of root on the first line and the roots on the following lines in the ascending order. Print roots with at least 5 digits after the decimal point.

Examples

Input

1 -5 6


Output

2
2.0000000000
3.0000000000

Solution (in PYTHON3):

Solution:
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[1]!=0 and s[2]==0:
	
		print(2)
		a=0
		b=-s[1]/s[0]
		p=[a,b]
		print('%6f'%min(p))
		print('%6f'%max(p))
elif s[0]*s[2]<0 and s[1]==0:
	print(2)
	p=[(-s[2]/s[0])**.5,-(-s[2]/s[0])**.5]
	print('%.6f'%min(p))
	print('%.6f'%max(p))
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:
	if s[1]**2<4*(s[0]*s[2]):
		print(0)
	elif s[1]**2==4*(s[0]*s[2]):
		print(1)
		print('%.6f'%(-s[1]/(2*s[0])))
	else:
		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])
		p=[j,k]
		print("%.6f"%min(p))
		print('%.6f'%max(p))
elif s[0]==s[2]==0 and s[1]!=0:
	print(1)
	print('%6f'%0)
elif s[2]==s[1]==0 and s[0]!=0:
	print(1)
	print('%6f'%0)
elif s[0]*s[2]!=0 and s[1]==0:
	if s[0]*s[2]>0:
		print(0)
	else:
		print(2)
		print('%6f'%-(-s[2]/s[0])**.5)
		print('%6f'%(-s[2]/s[0])**.5)