import java.util.Scanner;


public class Main {
    static double eps = 1e-9;
    public static void main(String[] args) {
        Scanner r = new Scanner(System.in);
        
        double a = r.nextDouble();
        double b = r.nextDouble();
        double c = r.nextDouble();
        
        if(Math.abs(a) < eps && Math.abs(b) < eps && Math.abs(c) < eps)System.out.println(-1);
        else if(b*b-4*a*c < 0)System.out.println(0);
        else{
            double s = b*b-4*a*c;
            System.out.println(2);
            System.out.println((-b+s)/(2*a));
            System.out.println((-b-s)/(2*a));
        }
    }
}
