import java.io.*;
import java.util.*;
import static java.lang.Math.*;

public class Main {
    //BufferedReader in;
    StreamTokenizer in;
    PrintWriter out;
    public static void main(String[] args) throws IOException {
        new Main().run();
    }
    int ni() throws IOException {
        in.nextToken(); return (int) in.nval;
    }
    public void run() throws IOException {
        //in = new BufferedReader(new InputStreamReader(System.in));
        in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));
        out = new PrintWriter(new OutputStreamWriter(System.out));

        solve();

        out.flush();
    }
    void solve() throws IOException {
        long a = ni(), b = ni(), c = ni();
        if(a == 0 && b == 0) {
            if(c == 0) out.print(-1);
            else out.print(0);
            return;
        }
        if(a == 0) {
            out.println(1);
            out.print(String.format("%.6f", (1.0*(-c))/b));
            return;
        }
        long d = b*b - 4*a*c;
        if(d < 0) {
            out.println(0);
            return;
        }
        else if(d == 0) {
            out.println(1);
            out.println(String.format("%.6f", -b / (2.0 * a)));
            return;
        }
        else {
            out.println(2);
            out.println(String.format("%.6f", (-b - sqrt(d)) / (2.0 * a)));
            out.println(String.format("%.6f", (-b + sqrt(d)) / (2.0 * a)));
        }
    }
}