
import java.util.Scanner;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Madi
 */
public class Equation {
    public static void main(String... args) {
        Scanner sc = new Scanner(System.in);
        String[] in = sc.nextLine().split(" ");
        double a = Double.parseDouble(in[0]);
        double b = Double.parseDouble(in[1]);
        double c = Double.parseDouble(in[2]);

        if (a == 0) {
            if (b == 0) {
                if (c == 0) {
                    System.out.println(-1);
                } else {
                    System.out.println(0);
                }
            } else {
                System.out.printf("%.8f\n", -c / b);
            }
        } else {
            double d = b * b - 4 * a * c;
            if (d < 0.00001) {
                System.out.println(1);
                System.out.printf("%.8f\n", -b / (2.0 * a));
            } else if (d < 0) {
                System.out.println(0);
            } else {
                System.out.println(2);
                double r1 = (-b + Math.sqrt(d)) / (2.0 * a);
                double r2 = (-b - Math.sqrt(d)) / (2.0 * a);
                double min = (r1 > r2) ? r2 : r1;
                double max = (r1 > r2) ? r1 : r2;
                System.out.printf("%.8f\n", min);
                System.out.printf("%.8f\n", max);
            }
        }

    }
}
