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 {
			double x_1 = (-B + Math.sqrt(Math.pow(B, 2) - 4 * A * C)) / 2 * A;
			double x_2 = (-B - Math.sqrt(Math.pow(B, 2) - 4 * A * C)) / 2 * A;

			if (x_1 > x_2) {
				double temp = x_1;
				x_1 = x_2;
				x_2 = temp;
			}
			System.out.println(2);
			System.out.println(String.format("%.5f", x_1));
			System.out.println(String.format("%.5f", x_2));

		}

	}

}
