#include <bits/stdc++.h>
using namespace std;
const long long int maxn = 200005;
vector<long long int> adj[maxn];
long long int a[maxn], jvb[maxn];
int main() {
  ios_base::sync_with_stdio(false);
  double a, b, c;
  cin >> a >> b >> c;
  double deltad;
  if (a == 0 && b == 0) {
    cout << "-1";
    return 0;
  }
  if (a == 0) {
    cout << "1" << endl;
    double rt1 = ((double)-1 * c) / b;
    cout << fixed << setprecision(12) << rt1;
    return 0;
  }
  deltad = b * b - (double)4 * a * c;
  if (deltad > 0) {
    cout << '2' << endl;
    double rt1 = (((double)-1 * b) - ((double)sqrt(deltad))) / ((double)2 * a);
    double rt2 = (((double)-1 * b) + ((double)sqrt(deltad))) / ((double)2 * a);
    cout << fixed << setprecision(12) << rt1;
    cout << endl;
    cout << fixed << setprecision(12) << rt2;
    return 0;
  }
  if (deltad == 0) {
    cout << '1' << endl;
    double rt1 = (((double)-1 * b) - ((double)sqrt(deltad))) / ((double)2 * a);
    cout << fixed << setprecision(12) << rt1;
    return 0;
  }
  if (deltad < 0) {
    cout << "0";
    return 0;
  }
}
