
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.List;

public class Singleton {
  

    public static void main(String[] args) throws IOException {
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
        String string = bufferedReader.readLine();

        List<Integer> list = new ArrayList<>();
        for (String g : string.split(" ")){
            list.add(Integer.valueOf(g));
        }


        findNumber(list);

       /* int yourScale = 6;
        System.out.println(BigDecimal.valueOf((double)1/3).setScale(yourScale, BigDecimal.ROUND_HALF_UP));

*/
    }
    public static BigDecimal findNumber(List<Integer> list){
        BigDecimal bigDecimal1;
        BigDecimal bigDecimal2;
        if (list.get(0) == 0 && list.get(1) == 0 && list.get(2) == 0)  {
            System.out.println("-1");
            return null;
        }
        if (list.get(0) == 0 && list.get(1) == 0 && list.get(2) != 0){
            System.out.println("0");
            return null;
        }
        if (list.get(0) != 0 && list.get(1) == 0 && list.get(2) == 0) {
            System.out.println("1");
            System.out.println("0.000000");

            return null;
        }
        if (list.get(0) == 0 && list.get(1) != 0 && list.get(2) == 0) {
            System.out.println("1");
            System.out.println("0.000000");

            return null;
        }
        if (list.get(0) == 0 && list.get(1) != 0 && list.get(1) != 0){
            bigDecimal1 =new BigDecimal((double)-1 * list.get(2)/list.get(1)).setScale(6,BigDecimal.ROUND_HALF_UP);
            System.out.println("1");
            System.out.println(bigDecimal1);
            return bigDecimal1;
        }
        if (list.get(1) == 0 && list.get(0) != 0 && list.get(2) != 0){
            bigDecimal1 = new BigDecimal(-1 * Math.sqrt(-1 * list.get(2)/list.get(0))).setScale(6,BigDecimal.ROUND_HALF_UP);
            bigDecimal2 = new BigDecimal( Math.sqrt(-1 * list.get(2)/list.get(0))).setScale(6,BigDecimal.ROUND_HALF_UP);
            System.out.println("2");
            System.out.println(bigDecimal2);
            System.out.println(bigDecimal1);
            return bigDecimal1;
        }
        if (list.get(2) == 0 && list.get(1) != 0 && list.get(0) != 0){
            bigDecimal1 =new BigDecimal(-1 * list.get(1)/list.get(0)).setScale(6,BigDecimal.ROUND_HALF_UP);
            bigDecimal2 =new BigDecimal(0.0).setScale(6,BigDecimal.ROUND_HALF_UP);
            System.out.println("2");
            System.out.println(bigDecimal2);
            System.out.println(bigDecimal1);
            return bigDecimal1;
        }

try{




    bigDecimal1 = new BigDecimal((-1 * list.get(1) + Math.sqrt(list.get(1) * list.get(1) - 4 * list.get(0) *
            list.get(2))) / (2 * list.get(0))).setScale(6, BigDecimal.ROUND_HALF_UP);
    bigDecimal2 = new BigDecimal((-1 * list.get(1) - Math.sqrt(list.get(1) * list.get(1) - 4 * list.get(0) *
            list.get(2))) / (2 * list.get(0))).setScale(6, BigDecimal.ROUND_HALF_UP);
    if (bigDecimal1.equals(bigDecimal2)){
        System.out.println("1");
        System.out.println(bigDecimal2);
        return bigDecimal1;
    }
    System.out.println("2");
    System.out.println(bigDecimal2);
    System.out.println(bigDecimal1);
}catch (NumberFormatException e){
    System.out.println("0");
}
    return null;
    }
}
