import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] sa = br.readLine().split(" "); long a = Integer.parseInt(sa[0]); long b = Integer.parseInt(sa[1]); long c = Integer.parseInt(sa[2]); br.close(); 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((double) -c / b); } } else if (b * b == 4 * a * c) { System.out.println(1); System.out.println((double) -b / 2 / a); } else if (b * b > 4 * a * c) { double d1 = (double) -b / 2 / a; double d2 = Math.sqrt(b * b - 4 * a * c) / 2 / a; System.out.println(2); System.out.println(d1 - d2); System.out.println(d1 + d2); throw new RuntimeException(); } else { System.out.println(0); } } }