#include <bits/stdc++.h>
using namespace std;
int main() {
  float a, b, c;
  float p, q, w;
  cin >> a >> b >> c;
  w = b * b - 4 * a * c;
  if (a == 0 && b == 0 && c == 0)
    cout << "-1";
  else if (b != 0 && a == 0 && a == c)
    cout << "-1";
  else if (a == 0 && b != 0 && c != 0)
    cout << "1" << endl << setprecision(10) << fixed << (-c) / b;
  else if (a == b && a == 0)
    cout << "-1";
  else if (w < 0)
    cout << "0";
  else {
    p = (-b + pow(w, .5)) / (2 * a);
    q = (-b - pow(w, .5)) / (2 * a);
    if (p > q) {
      cout << "2" << endl << setprecision(10) << fixed << q << endl;
      cout << setprecision(10) << fixed << p;
    } else if (q > p) {
      cout << "2" << endl << setprecision(10) << fixed << p << endl;
      cout << setprecision(10) << fixed << q;
    } else {
      cout << "1" << endl << setprecision(10) << fixed << p;
    }
  }
  return 0;
}
