import java.util.*;
import java.io.*;
public class Main
{
	public static void main(String args[]) throws IOException
	{
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), k;
		double d, x1, x2;
		if (a==0 && b==0)
		{
			if (c==0) System.out.print("-1");
			else System.out.print("0"); 
		} else
		{
			d = b*b - 4*a*c;
			if (d<0) System.out.print("0");
			if (d==0)
			{
				System.out.println("1");
				x1 = - b / (2*a);
				System.out.printf("%.8f",x1);
			}
			if (d>0)
			{
				System.out.println("2");
				x1 = (- b + Math.sqrt(d)) / (2*a);
				x2 = (- b - Math.sqrt(d)) / (2*a);
				System.out.printf("%.8f\n",x2);
				System.out.printf("%.8f",x1);
			}
		}
	}
}