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

public class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String m = "";
        while((m = br.readLine()) != null) {
            StringTokenizer st = new StringTokenizer(m.trim());
            long a = Long.parseLong(st.nextToken());
            long b = Long.parseLong(st.nextToken());
            long c = Long.parseLong(st.nextToken());
            if(a == 0) {
                if(b == 0) {
                    if(c == 0) System.out.println("-1");
                    else System.out.println("0");
                }
                else {
                    if(c == 0) { 
                        System.out.println("1");
                        double r = 0;
                        System.out.printf("%.10f\n", r);
                    }
                    else {
                        System.out.println("1");
                        double r = (double) ((-1)*(c/b));
                        System.out.printf("%.10f\n", r);
                    }
                }
            }
            else {
                if(b == 0) {
                    if(c == 0) { 
                        System.out.println("1");
                        double r = 0;
                        System.out.printf("%.10f\n", r);
                    }
                    else {
                        double r = (double) ((-1)*(c/a));
                        if(r > 0) {
                            System.out.println("0");
                        }
                        else {
                            System.out.println("2");
                            double s = Math.sqrt(r);
                            System.out.printf("%.10f\n", (-1)*s);
                            System.out.printf("%.10f\n", s);
                        }
                    }
                }
                else {
                    if(c == 0) { 
                        System.out.println("2");
                        double r = (double) ((-1)*(b/a));
                        System.out.printf("%.10f\n", Math.min(0, r));
                        System.out.printf("%.10f\n", Math.max(0, r));
                    }
                    else {
                        double d = (double) (b*b-4*a*c);
                        if(d < 0) {
                            System.out.println("0");
                        }
                        else if(d == 0) {
                            System.out.println("1");
                            double r = (double) ((-1)*(b/(2*a)));
                            System.out.printf("%.10f\n", r);
                        }
                        else {
                            System.out.println("2");
                            double r1 = (double) ((-1)*b+Math.sqrt(d))/(2*a);
                            double r2 = (double) ((-1)*b-Math.sqrt(d))/(2*a);
                            System.out.printf("%.10f\n", Math.min(r1, r2));
                            System.out.printf("%.10f\n", Math.max(r1, r2));
                        }
                    }
                }
            }
        }
    }
}
