import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Locale;
import java.util.Stack;
import java.util.StringTokenizer;

public class B{
	static StringTokenizer st;
	static BufferedReader br;
	static PrintWriter pw;

	public static void main(String[] args) throws IOException {
		Locale.setDefault(Locale.US);
		br = new BufferedReader(new InputStreamReader(System.in));
		pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(
				System.out)));
		long a = nextLong();
		long b = nextLong();
		long c = nextLong();
		long D = b * b - 4 * a * c;
		if (a == 0 && b == 0 && c != 0) {
			pw.print(0);
			pw.close();
			return;
		}
		if (D < 0) {
			pw.print(-1);
			pw.close();
			return;
		}
		if (D == 0) {
			if (a != 0) {
				pw.println(1);
				pw.printf("%.5f", (-b / (2. * a)));
			} else
				pw.print(-1);
			pw.close();
			return;
		}
		if (a == 0) {
			if (b == 0)
				pw.print(-1);
			else {
				pw.println(1);
				pw.printf("%.5f", -c * 1. / b);
			}
			pw.close();
			return;
		}
		pw.println(2);
		pw.printf("%.5f", (-b - Math.sqrt(D * 1.)) / (2 * a));
		pw.print(" ");
		pw.printf("%.5f", (-b + Math.sqrt(D * 1.)) / (2 * a));
		pw.close();
	}

	private static long gcd(long a, long b) {
		return b == 0 ? a : gcd(b, a % b);
	}

	private static BigInteger npr(BigInteger n) {
		return n.nextProbablePrime();
	}

	private static int nextInt() throws IOException {
		return Integer.parseInt(next());
	}

	private static long nextLong() throws IOException {
		return Long.parseLong(next());
	}

	private static double nextDouble() throws IOException {
		return Double.parseDouble(next());
	}

	private static String next() throws IOException {
		while (st == null || !st.hasMoreTokens())
			st = new StringTokenizer(br.readLine());
		return st.nextToken();
	}

	private static void ffile() throws IOException {
		br = new BufferedReader(new FileReader(new File("input.txt")));
		pw = new PrintWriter(new BufferedWriter(new FileWriter(new File(
				"output.txt"))));
	}
}