import java.util.*; import java.io.*; import java.math.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); double a = sc.nextDouble(); double b = sc.nextDouble(); double c = sc.nextDouble(); if(a == 0 && b == 0 && c == 0){ System.out.println(-1); return; }else if(a == 0 && b == 0){ System.out.println(0); return; }else if((a == 0 && c == 0) || (b == 0 && c == 0)){ System.out.println(1); System.out.println(0); return; }else if(a == 0){ System.out.println(1); System.out.println(-c/b); return; }else if(b == 0){ if(c > 0){ System.out.println(0); }else{ System.out.println(2); double ans = Math.pow(-c,0.5); System.out.println(-ans); System.out.println(ans); } return; }else if(c == 0){ System.out.println(2); if(b < 0){ System.out.println(0); System.out.println(-b); }else{ System.out.println(-b); System.out.println(0); } return; } double chk = b*b - (4*a*c); if(chk < 0){ System.out.println(0); }else if(chk == 0){ System.out.println(1); System.out.println(-b/(2*a)); }else{ System.out.println(2); double[] ans = new double[2]; ans[0] = (-b-Math.pow(chk,0.5))/(2*a); ans[1] = (-b+Math.pow(chk,0.5))/(2*a); Arrays.sort(ans); for(int i = 0; i < 2; i++){ System.out.println(ans[i]); } } } }