import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();
		double d = Math.pow(B, 2) - 4 * A * C;
		if (A == 0) {
			if (B == 0 && C == 0) {
				System.out.println(-1);
			} else if (B == 0) {
				System.out.println(0);
			} else if (C == 0) {
				System.out.println(1);
				System.out.println(String.format("%.5f", 0.0));
			} else {
				System.out.println(1);
				System.out.println(String.format("%.5f", -1.0 * C / B));
			}

		} else if (B == 0 && C == 0) {
			System.out.println(1);
			System.out.println(String.format("%.5f", 0.0));
		} else if (d == 0) {
			System.out.println(1);
			System.out.println(String.format("%.5f", -0.5 * B / A));
		} else if (d < 0) {
			System.out.println(0);
		} else {
			if(A>0) {
				System.out.println(2);
				System.out.println(String.format("%.5f",0.5/A*(-B-Math.sqrt(d))));
				System.out.println(String.format("%.5f", 0.5/A*(Math.sqrt(d)-B)));
			}else {
				System.out.println(2);
				System.out.println(String.format("%.5f",0.5 / A * (Math.sqrt(d) - B)));
				System.out.println(String.format("%.5f", 0.5 / A * (- B - Math.sqrt(d))));
			}

		}

	}

}
