import java.util.Scanner;

public class Main {
	
	public static void main(String[] args) {
		Scanner sc = new Scanner (System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		if (a==0)
		{
			if (b==0)
			{
				if (c==0)
				{
					System.out.print(-1);
				}
				else
				{
					System.out.print(0);
				}
			}
			else
			{
				System.out.println(1);
				System.out.printf("%.5f", -c/b);
			}
		}
		else
		{
			double delta = b*b-4*a*c;
			if (delta<0)
			{
				System.out.print(0);
			}
			else if (delta==0)
			{
				System.out.println(1);
				System.out.printf("%.5f", -b/(2*a));
			}
			else
			{
				System.out.println(2);
				System.out.printf("%.5f\n", -b-Math.sqrt(delta)/(2*a));
				System.out.printf("%.5f", -b+Math.sqrt(delta)/(2*a));
			}
		}
	}
}
