import java.util.*;
public class Main {
public static void main(String [] args){
	Scanner in=new Scanner(System.in);
	long a=in.nextLong();
	long b=in.nextLong();
	long c=in.nextLong();
	if(a==b&&b==c&&c==0)System.out.print("-1");
	else if(b*b<4*a*c)System.out.print("0");
	else{
	double one=(-b+Math.sqrt(b*b-4*a*c))/2*a;	
	double two=(-b-Math.sqrt(b*b-4*a*c))/2*a;
	if(b*b==4*a*c){
		System.out.println("1");
		System.out.println(one);
	}
	else{
	 System.out.println("2");
	 System.out.println(Math.min(one,two));
	 System.out.println(Math.max(two,one));
	}
}
}
}