#include <bits/stdc++.h>
using namespace std;
int main() {
  long a, b, c, d;
  cin >> a >> b >> c;
  if (!a && !b && !c) {
    cout << "-1" << endl;
  } else {
    d = b * b - 4 * a * c;
    if (d > 0) {
      double x1, x2;
      cout << "2" << endl;
      x1 = (0 - b + sqrt(d)) / (2.0 * a);
      x2 = (0 - b - sqrt(d)) / (2.0 * a);
      if (x1 > x2) swap(x1, x2);
      cout << fixed << setprecision(10) << x1 << endl;
      cout << fixed << setprecision(10) << x2 << endl;
    } else if (d == 0) {
      cout << "1" << endl;
      cout << fixed << setprecision(10) << (0 - b) / (2.0 * a) << endl;
    } else
      cout << "0" << endl;
  }
  return 0;
}
