import java.io.*;
import java.util.*;

public class p20b
{
    public static void main(String args[])
    {
        Scanner sc = new Scanner(System.in);
        System.out.println();
        long A = sc.nextLong();
        long B = sc.nextLong();
        long C = sc.nextLong();
        long D = B*B - 4*A*C;
        if((A==0)&&(B==0)) System.out.println("-1");
        else if(A==0) System.out.println(-(double)C/(double)B);
        else if(D<0) System.out.println("0");
        else if(D==0)
        {
            System.out.println("1");
            System.out.println(-(double)B/(2*(double)A));
        }
        else
        {
            System.out.println("2");
            double r1 = (-(double)B+Math.sqrt((double)D))/(2*(double)A);
            double r2 = (-(double)B-Math.sqrt((double)D))/(2*(double)A);
            System.out.println(Math.min(r1,r2));
            System.out.println(Math.max(r1,r2));
        }
    }
}