import java.util.Scanner;

public class B {
    public static void main(String[] args) {
        new B().solve();
    }

    public void solve() {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();

        if (a == 0) {
            if (b == 0 && c == 0) {
                System.out.println(-1);
                return;
            }
            if (b == 0 && c != 0) {
                System.out.println(0);
                return;
            }
            
            System.out.println(1);
            System.out.printf("%5f\n", (double) -1.0d * c / b);
            return;
        }

        double r = b * b - 4 * a * c;
        if (r < 0) {
            System.out.println(0);
            return;
        } else if (r == 0) {
            System.out.println(1);
            System.out.printf("%5f\n", -b*1.0d/a/2.0d);
            return;
        } else {
            r = Math.sqrt(r);
            double x1 = 1.0d * (-b + r) / 2.0d / a;
            double x2 = 1.0d * (-b - r) / 2.0d / a;
            System.out.println(2);
            System.out.printf("%5f\n", x1);
            System.out.printf("%5f\n", x2);
        }
    }
}