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(c / (double) b); } } 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); System.out.println(((-b + Math.sqrt(d)) / (2 * a)) + " " + ((-b - Math.sqrt(d)) / (2 * a))); } } } }