#include<iostream>
#include<iomanip>

int main()
{
	double a{}, b{}, c{};
	double delta{};
	std::cin >> a >> b >> c;
	
	delta = b * b - 4 * a * c;
	if (a == 0)
	{
		if (b == 0 && c != 0) std::cout << "0";
		else if (b == 0 && c == 0) std::cout << "-1";
		else
			std::cout <<"1\n" << std::fixed << std::setprecision(10) << -c / b;
	}

	else if (delta < 0) std::cout << "0";

	else
	{
		if(delta==0)std::cout << "1\n";
		else std::cout << "2\n";
		double num1 = -b + sqrt(delta);
		num1 /= (2 * a);

		double num2 = -b - sqrt(delta);
		num2 /= (2 * a);
		if (num1 > num2) std::cout <<std::fixed <<std::setprecision(10) << num2 << "\n" << num1;
		else std::cout <<std::fixed <<std::setprecision(10) << num1 << "\n" << num2;
	}
	return 0;
}