import java.util.Scanner;

public class b {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
        sc.close();

        if (a == 0 && b == 0 && c == 0) {
            System.out.println("-1");
            return;
        }

        if (a == 0 && b == 0) {
            System.out.println("0");
            return;
        }

        if (a == 0) {
            System.out.printf("1\n%.10f\n", (-1.0 * c) / b);
            return;
        }

        int d = (b * b) - (4 * a * c);

        if (d > 0) {
            double e = (b * b) - (4.0 * a * c);
            double x1 = (-b - e) / (a * 2.0), x2 = (-b + e) / (a * 2.0);

            if (x1 < x2) {
                System.out.printf("2\n%.10f\n%.10f\n", x1, x2);
            } else {
                System.out.printf("2\n%.10f\n%.10f\n", x2, x1);
            }
        } else if (d == 0) {
            System.out.printf("1\n%.10f\n", -b / 2.0 / a);
        } else {
            System.out.println("0");
        }
    }
}
