import java.util.Scanner;
import java.math.BigInteger;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (sc.hasNext()) {
            int a=sc.nextInt();
            int b=sc.nextInt();
            int c=sc.nextInt();
            if(a==0 && b==0 && c ==0){
                System.out.println(-1);
            }else if (Math.pow(b, 2)-(4*a*c)<0){
                System.out.println(0);
            }else if (a==0){
                double x = -c/b;
                System.out.println(1);
                System.out.printf("%.10f",x);
            }else if (Math.pow(b, 2)-(4*a*c)==0){
                double x = -b/(2*a);
                System.out.println(1);
                System.out.printf("%.10f",x);
            }else{
                double x1 = (-b + (Math.sqrt(Math.pow(b, 2)-(4*a*c))))/(2*a);
                double y1 = (-b - (Math.sqrt(Math.pow(b, 2)-(4*a*c))))/(2*a);
                double x = Math.min(x1, y1);
                double y = Math.max(x1, y1);
                System.out.println(2);
                System.out.printf("%.10f",x);
                System.out.println();
                System.out.printf("%.10f",y);
            }
        }
    }
}
