import java.util.Scanner;
public class yama
{
public static void main(String[] args)
{
	Scanner in = new Scanner(System.in);
	int a=in.nextInt();
	int b=in.nextInt();
	int c=in.nextInt();
	double m1,m2;
	if(a==0)
	{
		if(b==0&&c==0)
			System.out.print(-1);
		else if(b==0&&c!=0)
			System.out.print(0);		
		else
		{
			System.out.println(1);
			System.out.print(-c/b);
		}
	}
	else if(b*b>=4*a*c)
		{
			m1=(-b-Math.sqrt(b*b*1.0-4*a*c))/(2*a);
			m2=(-b+Math.sqrt(b*b*1.0-4*a*c))/(2*a);
			if(m1==m2)
			{
				System.out.println(1);
				System.out.print(m1);
			}
			else
			{
				System.out.println(2);
				System.out.println(m1);
				System.out.println(m2);
			}
		}
	else if(b*b<4*a*c)
		System.out.print(0);	
}
}