import java.util.Scanner;


public class Contest {

    
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
       double a = in.nextDouble();
       double b = in.nextDouble();
       double c = in.nextDouble();
        double root1, root2;

        double determinant = b * b - 4 * a * c;

        
        if(determinant > 0) {
            root1 = (-b + Math.sqrt(determinant)) / (2 * a);
            root2 = (-b - Math.sqrt(determinant)) / (2 * a);
            if(root1<root2)
            {
            System.out.println(root1);
            System.out.println( root1+" "+root2);
            }
           else if(root1>root2)
            {
             System.out.println(root2);
            System.out.println( root2+" "+root1);
            }
        }
        
        else if(determinant == 0) {
            root1 = root2 = -b / (2 * a);

            System.out.print(root1);
        }
        else {
            double realPart = -b / (2 *a);
            double imaginaryPart = Math.sqrt(-determinant) / (2 * a);

            System.out.format("", realPart, imaginaryPart, realPart, imaginaryPart);
        }
    }
}


    			   	   	  		 	  			  			