import java.awt.Point;
import java.io.*;
import java.util.*;

import javax.swing.*;
public class Xtend {
public static void main(String[] args)throws IOException{
Scanner input=new Scanner(System.in);
int a=input.nextInt();
int b=input.nextInt();
int c=input.nextInt();
if(a==b && b==c && a==0){
	System.out.println(-1);
}
else if(a==b && c!=0){
	System.out.println(0);
}
	else{
	long delta=(b*b)-4*(a*c);
	if(delta<0){
		System.out.println(0);
	}else if(a!=0 && delta>0){
		System.out.println(2);
		double r1=(-b-Math.sqrt(delta))/(2.0*a);
		double r2=(-b+Math.sqrt(delta))/(2.0*a);
		System.out.format("%.7f \n",r1);
		System.out.format("%.7f \n",r2);
	}else if(delta>0 && a==0){
		System.out.println(1);
		System.out.format("%.7f",(double)-c/b );
	}
}
}
}