import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] first = br.readLine().split(" ", 3); double a = Integer.parseInt(first[0]); double b = Integer.parseInt(first[1]); double c = Integer.parseInt(first[2]); if (a == 0) { if (b == 0) { if (c == 0) { System.out.println(-1); } else { System.out.println(0); } } else { System.out.println(1); System.out.println(java.math.BigDecimal.valueOf(c / b).toPlainString()); } } else { double d = b * b - 4 * a * c; if (d < 0) { System.out.println(0); } else if (d == 0) { System.out.println(1); System.out.println(-b / (2 * a)); } else { System.out.println(2); double x = (-b + Math.sqrt(d)) / (2 * a); double y = (-b - Math.sqrt(d)) / (2 * a); System.out.println(java.math.BigDecimal.valueOf(Math.min(x, y)).toPlainString() + " " + java.math.BigDecimal.valueOf(Math.max(x, y)).toPlainString()); } } } }