#include <bits/stdc++.h>
#define int long long
using namespace std;
const int N = 312345;
const int mod = 1e9 + 7;
const int inf = 1e9 + 7;
int read()
{
    int x;
    scanf("%I64d", &x);
    return x;
}
int a[N];
int bin(int n, int m) {
    int res = 1;
    while(m > 0) {
        if(m % 2 == 0) {
            n *= n;
            n %= mod;
            m /= 2;
        }
        else {
            m --;
            res *= n;
            res %= mod;
        }
    }
    return res;
}
main()
{
    double a, b, c;
    cin >> a >> b >> c;
    double d = b * b - 4 * a * c;
    if(a == 0 && b == 0 && c == 0) {
        puts("-1");
        return 0;
    }
    if(a == 0 && b == 0) {
        puts("0");
        return 0;
    }
    if(d < 0) {
        puts("0");
        return 0;
    }
    if(a == 0) {
        cout << 1 << endl;
        printf("%.10f", -c / b);
        return 0;
    }
    if(d == 0) {
        cout << 1 << endl;
        printf("%.10f", -b / (2 * a));
        return 0;
    }
    d = sqrt(d);
    cout << 2 << endl;
    printf("%.10f\n", (-b - d) / (2 * a));
    printf("%.10f", (-b + d) / (2 * a));
}
