import javax.swing.JOptionPane;

import java.text.DecimalFormat;
import java.util.Scanner;
public class Sav {

        public static void main(String args[])
        {    DecimalFormat df = new DecimalFormat("0.00000");
            Scanner input=new Scanner (System.in);
            long a=input.nextInt(),b=input.nextInt(),c=input.nextInt() ;
             double x=-1.0*b, y=2.0*a, z=(b*b)-4*a*c; 
           if(a!=0&&b==0&&c==0){System.out.println(1);System.out.println(df.format(0));}
             if (z<0){System.out.println(-1);}
             if(z>0&&y!=0){System.out.println(2);System.out.println(df.format((x-z)/y));System.out.println(df.format((x+z)/y));}
            if (z==0&&y!=0){System.out.println(1);System.out.println(df.format(x/y));}
        if  (z==0&&y==0){System.out.println(0);}
        if(y==0&&z!=0){System.out.println(1);System.out.println(df.format(c/x));}
        }}