import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double a = sc.nextInt();
		double b = sc.nextInt();
		double c = sc.nextInt();
		double d = b * b - 4 * a * c;
		if (d == 0) {
			System.out.println(0);
		} else if (d < 0) {
			System.out.println(-1);
		} else {
			System.out.println(2);
			double n = (-b + Math.sqrt(d)) / (2 * a);
			double m = (-b - Math.sqrt(d)) / (2 * a);
			if (n < m)
				System.out.printf("%.5f\n%.5f", n, m);
			else
				System.out.printf("%.5f\n%.5f", m, n);
		}
	}

}

   		   	   		 	  		 	  	    	