/*package whatever //do not write package name here */

import java.io.*;
import java.util.*;
public class Main {
	public static void main (String[] args) {
	    Scanner sc = new Scanner(System.in);
	    int a = sc.nextInt(), b =sc.nextInt(), c = sc.nextInt();
	    long sqr = b*b - 4*a*c;
	    if(a==0 && b==0 && c==0){
	        System.out.println(-1); return;
	    }
	    if(a==0){
	        if(b==0){
	            System.out.println(0); return;
	        }
	        if(c==0){
	            System.out.println(1); System.out.println(0); return;
	        }
	        System.out.println(1);
	        System.out.println(-1*(double)c/b); return;
	    }
	    
	    
	    if(sqr<0){
	        System.out.println(0); return;
	    }
	    double root = Math.sqrt(sqr);
	    if(sqr == 0){
	        if(a==0){
	            System.out.println(-1); return;
	        }
	        System.out.println(1);
	        System.out.println((double)-1*b/2*a);  return;
	    }
	    System.out.println(2);
	    System.out.println((-1*(double)b - root)/2*a);
	    System.out.println((-1*(double)b + root)/2*a);
	}
}